Topic: Best way to approach this CSS layout (Page 1 of 1) |
|
---|---|
Paranoid (IV) Inmate From: Lost Angeles Kalifornia, via Hawaii.... |
posted 07-24-2009 08:54
Hey guys, |
Paranoid (IV) Inmate From: beyond the gray sky |
posted 07-24-2009 09:03
it seems like it would be as easy as putting the icon in with the header and floating the header to the left by however many pixels the image is. I'm just beginning to get back in to web design/programming, so it's probably not as simple a fix as that, but if you have an html mock-up it's worth a shot |
Paranoid (IV) Inmate From: Florida |
posted 07-24-2009 11:48
Negative margin-left and a background image should do fine. |
Paranoid (IV) Inmate From: beyond the gray sky |
posted 07-24-2009 14:09
I have been informed that the way I did this in my original post did not cooperate well with internet explorer, so I have made some modifications |
Paranoid (IV) Inmate From: Florida |
posted 07-24-2009 15:41
Static text should pretty much never be only within a div, as that's about as uninformative as plain text. Purely decorative images should always be added with CSS, never as img elements. hr's are basically vestigial, and overdue for official deprecation. code: <h2>About<br />Everything you need to know?</h2> ...unless the second line is actually meant as a subsection heading where more sections may follow, then obviously <h2>, <h3>. |
Paranoid (IV) Inmate From: Lost Angeles Kalifornia, via Hawaii.... |
posted 07-24-2009 17:18
makes perfect sense. I knew that @font-family is coming out, but the logo was a placeholder for an actual "logo" of some sort. |
Paranoid (IV) Inmate From: Florida |
posted 07-24-2009 17:47
quote: code: #rightcolumn { margin: 0 0 0 360px; } quote: Sure, it's just nice to have things dynamic in case you add or remove even one item, or change text-size or something else slightly. You just need one top background image (top taper), one bottom (bottom), one repeating vertically (green vertical bar), and one in the middle (curl); or you could make either the top or bottom image ridiculously larger than it needs to be and skip the middle vertical repeater; or you could sacrifice perfect vertical symmetry for under-the-curl expansion only (or over ) and do it with just two images (top & bottom). |
Paranoid (IV) Inmate From: Lost Angeles Kalifornia, via Hawaii.... |
posted 07-24-2009 17:56
hehe... ok, little more complicated then I figured. I definitely want to figure it out, just to know how. thought I'm cool leaving it as is for now. |
Paranoid (IV) Inmate From: Florida |
posted 07-24-2009 20:55
If it's set on a container it won't matter what width you set. What you should really do is use HTML, though, as you've no justification for using XHTML. |
Paranoid (IV) Inmate From: Lost Angeles Kalifornia, via Hawaii.... |
posted 07-27-2009 22:33
Gotcha. One last question. I have the entire wrapper built the way it is because I couldn't figure out how to make the entire background be half beige and half white so when you expanded it would simply be two color. Doable or not worth the headache? |
Paranoid (IV) Inmate From: Florida |
posted 07-28-2009 02:16
Doable. It's nice to have, though the background approach isn't all that hard to modify, either. |