![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
So I'm trying to get my head round css and divs - updating previously table based websites to have css layouts. After banging my head against the wall trying to work out why netscape wasn't interpreting my box widths correctly, I installed firefox, read more about the box model and realised that its IE which isn't correct. So, box width and height refer to the content size, and the padding and margins are added to that. Ok. But in IE the box width and height are implemented as the whole box, and the padding is deducted from that (which actually makes more sense to me coming from a print background) I am inclined to design for the "correct" ie netscape and firefox interpretation, but my client uses IE so it's gonna look wrong. Any workarounds that aren't too hackish? |
#3
| |||
| |||
|
#4
| |||
| |||
|
|
Thanks everyone. I have actually now changed my doctype declaration, although that seems to have messed up some other stuff in IE. I will now work on the assumption that if it's right in IE but wrong in FF and NN, I've got it wrong ![]() |
|
It's really annoying, but I'm enjoying the flexibility I can get with css layouts. Well, would get, if IE didn't just do it's own thing... |
#5
| |||
| |||
|
|
Ruth wrote: Thanks everyone. I have actually now changed my doctype declaration, although that seems to have messed up some other stuff in IE. I will now work on the assumption that if it's right in IE but wrong in FF and NN, I've got it wrong ![]() Most likely true. It's really annoying, but I'm enjoying the flexibility I can get with css layouts. Well, would get, if IE didn't just do it's own thing... Bane of web design. Design in FF, validate then tweak for IE. Sometimes rethinking your basic design so that 3 pixels does not matter. Google for "fluid web design" or "liquid web design", be more flexible a life web designer world get much easier when multiple browsers are involved. |
I'm trying to do the right thing and render|
-- Take care, Jonathan ------------------- LITTLE WORKS STUDIO http://www.LittleWorksStudio.com |
#6
| |||
| |||
|
|
One step at a time...remember I'm coming from print, where I know EXACTLY how everything will turn out I'm trying to do the right thing and renderfor all browsers and be accessible bla di bla bla...getting there, just requires changing the way I think completely! |

#7
| |||
| |||
|
|
Ruth wrote: One step at a time...remember I'm coming from print, where I know EXACTLY how everything will turn out I'm trying to do the right thing andrender for all browsers and be accessible bla di bla bla...getting there, just requires changing the way I think completely! Yes it is a very different mindset, but be patient and you'll get there. You've got the right attitude, which is half the battle. ![]() It also takes time and lots of practice to become proficient so don't expect miracles overnight. Keep it simple to start and don't sweat the small stuff. -- Berg |
#8
| |||
| |||
|
|
I've created a page in which everything is positioned absolutely. |

|
How do you guys check for old browsers like the old IE ones? |
#9
| |||
| |||
|
|
Ruth wrote: I've created a page in which everything is positioned absolutely. I cringe every time I hear that. It is usually one of the worst ways to lay out a web page. ![]() What happens when the visitor has a different window size than you? Larger text size? Different fonts? Unless you know what you're doing, absolutely positioned layouts do not adapt to such variations at all. At best it looks bad. At worst it's unusable. Chances are you don't need absolute positioning at all, you just haven't learned how to do it differently yet. If you post a URL we can better evaluate the situation. How do you guys check for old browsers like the old IE ones? Search for 'multiple IE'. -- Berg |
#10
| |||
| |||
|
|
Ruth wrote: Original table based website (yes, i know!) http://www.brianbarr.co.uk New css-ly structured version as above but add /testsite I don't have Verdana. Please read this: http://k75s.home.att.net/fontsize.html Test it yourself by removing Verdana from your font settings. It is unreadable. Oh, you don't have to assign font-family so often. Set it just once in the body. You have too much pixel-precision. Think about flexible design. On my wide-screen monitor, it's just a skinny column in the center. http://allmyfaqs.net/faq.pl?AnySizeDesign The icons on the right links look cartoonish to me. Oh, please don't top-post. -- -bts -Motorcycles defy gravity; cars just suck |
![]() |
| Thread Tools | |
| Display Modes | |
| |