Log in

View Full Version : css coding for a more fluid header



monsterC
03-28-2007, 01:53 PM
Hello people, I'm new to web design and I'm working on my first site. I'm trying to make the header jpeg at the top of my page, change width to fit in any browser window. I'm guessing that it has something to do with % width and the float command but after hours of botching around with the code I can only get the image to repeat to the right. Please help!
Here's the code of my rather static image, before I started messing it about:
{
background:url(images/graphic_logo.jpeg);
height:147px;
width:800px;
position:absolute;
top:0px;
left:0px;
}
I would be grateful of any suggestions, thanks.

Johnny Gulag
03-28-2007, 08:20 PM
Do you have a link to the page in question or more css/html we can look at?

monsterC
04-23-2007, 06:26 AM
Hi sorry I've been a while in posting a reply. The current link to my site is my site (http://www.language-devices.co.uk/beta/multi_language.html) Still needs a lot of work doing on it. I also couldn't figure out how to do tables in css, can anyone shed any light on this too?

monsterC
04-24-2007, 10:43 AM
http://www.velocitydesign.co.uk/
The graphic in the header on this site resizes itself nicely as the window size changes. What a neat little trick.