Hello to any CSS experts out there. I'm a relative newbie laying out a Web page with CSS instead of tables (the better, or more modern, way...I hear).
Can I have a logo at the top left of my Web page (float: left) and have the rest of the viewport width taken up by my top banner? In other words, I'd like to say the width of the logo is 200px, and the width of the top banner (to its right) is 100% - 200px. The height of both is 70px. I doubt you can really give math calculations as the value in a CSS statement, but that's the idea. In that top banner I have a gradient fill image.
I figure either I can't do this at all, or else I'm approaching the problem the wrong way. I've tried experimentation and Google research, but I don't seem to be getting anywhere so far.
Thanks in advance for any advice.
Can I have a logo at the top left of my Web page (float: left) and have the rest of the viewport width taken up by my top banner? In other words, I'd like to say the width of the logo is 200px, and the width of the top banner (to its right) is 100% - 200px. The height of both is 70px. I doubt you can really give math calculations as the value in a CSS statement, but that's the idea. In that top banner I have a gradient fill image.
I figure either I can't do this at all, or else I'm approaching the problem the wrong way. I've tried experimentation and Google research, but I don't seem to be getting anywhere so far.
Thanks in advance for any advice.