blenderNetworkpatreonblender-logosdheartuserthtimesbookphotopencilmap-markerchevron-rightbancommentcommentstwitterfacebookrsschainnavicongoogle-plusenvelopelinkedinmail-replycalendar-otumblrredditstumbleuponshare-altbloggerflattrflag

I need help..

Re: I need help..

Postby djm » March 16th, 2010, 4:06 am

Aah, haha! I forgot to add the Div commands! Well, now it works as it should. Although I still need to know how to add graphics, pictures etc. to my layout. You know, like yours. You have that yellow/orange line at the top where it says "Post a Reply" and other stuff. How do you add that kind of things to the rows and columns, and how to you add a background to it so that it's visible at all time such as yours (the black to orange gradient one)?
Regards, DJM aka Sheldin!

DeviantArt Profile
http://sheldiner.deviantart.com/

Youtube (Tutorials/Gaming)
http://www.youtube.com/SheldinLP
User avatar
djm
Pro
Pro
 
Posts: 478
Joined: December 11th, 2009, 4:04 pm
Location: Sweden

Re: I need help..

Postby IrascibleOne » March 16th, 2010, 10:21 am

To use an image you just have to specify the location of the image you want to use as the background of your elements. In the other chunks of code I have posted I just made the background a color with the background setting. You can use this same setting for image backgrounds, but personally, if I am using just an image I like using the background-image setting.

So, let's say I want to change the background of the center column to one of my images, all I would have to do is change the CSS to something like this:
Code: Select all
#center{
   float: left;
   width: 500px;
   background-image: url(http://www.darkscarab.com/layout/testbg.jpg);
}


If you don't have a URL to link to and are just testing it on your computer, you can always just use relative URL's. Instead of the full URL, I would use something like this: layout/testbg.jpg
Image
User avatar
IrascibleOne
Site Admin
Site Admin
 
Posts: 1539
Joined: July 31st, 2008, 7:14 pm

Re: I need help..

Postby djm » March 17th, 2010, 1:56 pm

ah okey. Well, I just got back from the trip to the mountains (ski-trip) and I'm really tired! So I'm gonna read this post once more later on.
Regards, DJM aka Sheldin!

DeviantArt Profile
http://sheldiner.deviantart.com/

Youtube (Tutorials/Gaming)
http://www.youtube.com/SheldinLP
User avatar
djm
Pro
Pro
 
Posts: 478
Joined: December 11th, 2009, 4:04 pm
Location: Sweden

Re: I need help..

Postby IrascibleOne » March 31st, 2010, 9:54 am

I dunno if you are ready for it or not, but I posted a blog article on hover menus. For now it only does the HTML and CSS, but I do plan on having the jQuery part of it up soon.

UPDATE: Got the jQuery part up now.
Image
User avatar
IrascibleOne
Site Admin
Site Admin
 
Posts: 1539
Joined: July 31st, 2008, 7:14 pm
Previous
Return to Programming

Who is online

Users browsing this forum: No registered users and 1 guest

cron