designing with em / ex ?

Reply

Join Date: Feb 2005
Posts: 427
Reputation: autocrat is on a distinguished road 
Solved Threads: 12
autocrat autocrat is offline Offline
Posting Pro in Training

designing with em / ex ?

 
0
  #1
Apr 2nd, 2005
OK.... I can create som pretty pages, and out of preference, i go for the expanding/liquid layouts... which entails some problems, yet I am working round them!

So, I test my pages, I can get things to look the same in NN6/MFF1.0.1/IE6 for Win.... yet when I start changing the txt sizes, things tend to get a little ugly (*understatement!*).

So, I wa thinking through all I have read and seen, and I recall the units of measure for EM and EX.....

So, is it possible to build a fluid site using these values not just for text, but for the height and width of divs/objects/elements etc.?
Would this result in the whole content of the page and it's containers changing size in a relative manner, or am I just wishing?
(I ask, because I can't seem to get anywhere with this idea! LOL).

So, let me know!
Reply With Quote Quick reply to this message  
Join Date: Jul 2004
Posts: 764
Reputation: DaveSW is on a distinguished road 
Solved Threads: 17
DaveSW's Avatar
DaveSW DaveSW is offline Offline
Master Poster

Re: designing with em / ex ?

 
0
  #2
Apr 2nd, 2005
You can set widths using ems, but what exactly is your problem?

If you set font sizes for particularly problematic areas in px then they don't change size in IE6.
Reply With Quote Quick reply to this message  
Join Date: Feb 2005
Posts: 427
Reputation: autocrat is on a distinguished road 
Solved Threads: 12
autocrat autocrat is offline Offline
Posting Pro in Training

Re: designing with em / ex ?

 
0
  #3
Apr 3rd, 2005
I'm getting a little frustrated.... I'm being shouted out about all this accessability stuff, and different browsers showing fonts in different sizes, and clients wanting to enable text-sizing through the browser.... yet I seem unable to provide a site that will hold a solid, pretty design in CSS that won't break when you change the text size!

Again, Tables has no issues with this.... yet in CSS, if you change the font sizze, things tend to go whacky!
Reply With Quote Quick reply to this message  
Join Date: Jul 2004
Posts: 764
Reputation: DaveSW is on a distinguished road 
Solved Threads: 17
DaveSW's Avatar
DaveSW DaveSW is offline Offline
Master Poster

Re: designing with em / ex ?

 
0
  #4
Apr 4th, 2005
Well, just make sure there's room in the layout (i.e. specify columns wider than they need to be) for some text expansion, and you should be fine. If you show us the particular page you're having difficulty with then maybe someone can give you some specific help...
Reply With Quote Quick reply to this message  
Join Date: Feb 2005
Posts: 427
Reputation: autocrat is on a distinguished road 
Solved Threads: 12
autocrat autocrat is offline Offline
Posting Pro in Training

Re: designing with em / ex ?

 
0
  #5
Apr 4th, 2005
It's just a template that my boss wants from an existing site that needs redesigning for a client... the original only works in IE via tables... so I thought I'd try it with css.... looks ok until the font size is changed!

Does it matter if I prevent the font-size changing?
(need I ask?)
Reply With Quote Quick reply to this message  
Join Date: Jul 2004
Posts: 764
Reputation: DaveSW is on a distinguished road 
Solved Threads: 17
DaveSW's Avatar
DaveSW DaveSW is offline Offline
Master Poster

Re: designing with em / ex ?

 
0
  #6
Apr 4th, 2005
actually it depends
If you're going for AAA accessibility then yes. If not, then it doesn't matter that much, since people who need to can disable your stylesheets and view it as they wish.
I'd say it's more important to get it into CSS to get that flexibility, than it is to be able to change the font size.
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the HTML and CSS Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC