CSS Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsWeb DesignCSS Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #16  
Old December 20th, 2003, 07:00 PM
orbitup orbitup is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2003
Posts: 17 orbitup User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
yes ive read that they are different and how they should be used, but dinkin around with the html, the end product is the same weather you stick to the "rules" or not, that is why im a little confused about the whole matter.

Reply With Quote
  #17  
Old December 20th, 2003, 07:29 PM
orbitup orbitup is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2003
Posts: 17 orbitup User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Also all this experimenting around has led me to another box question: how do you set the width and height of a box to "overrule" whatever text is inside the box? eg: if i set the height to 10 px, if i start writin and writing the box just gets higher and higher because more text "has to fit in" rather than just not show the text that "shouldn't" fit....

Reply With Quote
  #18  
Old December 20th, 2003, 07:48 PM
Akh's Avatar
Akh Akh is offline
|<.+#f@#+.&.|
Dev Shed Frequenter (2500 - 2999 posts)
 
Join Date: Mar 2002
Location: norway
Posts: 2,641 Akh User rank is Colonel (50000 - 60000 Reputation Level)Akh User rank is Colonel (50000 - 60000 Reputation Level)Akh User rank is Colonel (50000 - 60000 Reputation Level)Akh User rank is Colonel (50000 - 60000 Reputation Level)Akh User rank is Colonel (50000 - 60000 Reputation Level)Akh User rank is Colonel (50000 - 60000 Reputation Level)Akh User rank is Colonel (50000 - 60000 Reputation Level)Akh User rank is Colonel (50000 - 60000 Reputation Level)Akh User rank is Colonel (50000 - 60000 Reputation Level)Akh User rank is Colonel (50000 - 60000 Reputation Level)Akh User rank is Colonel (50000 - 60000 Reputation Level)Akh User rank is Colonel (50000 - 60000 Reputation Level) 
Time spent in forums: 3 Weeks 6 Days 12 h 6 m 36 sec
Reputation Power: 571
you can use the overflow attribute.
http://www.w3.org/TR/CSS2/visufx.html#overflow-clipping
overflow:hidden; will hide everything that exceeds the box.
take a look here for example of its use
http://www.quirksmode.org/css/overflow.html


as for the id (quote from w3)
The id attribute can act as more than just an anchor name (e.g., style sheet selector, processing identifier, etc.)
http://www.w3.org/TR/1998/REC-html4...anchors-with-id

so if you use the same id on more than element, useragent wouldn't which one the anchor goes to, which one the javascript should affect etc.

Last edited by Akh : December 20th, 2003 at 07:50 PM.

Reply With Quote
  #19  
Old December 20th, 2003, 07:58 PM
orbitup orbitup is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2003
Posts: 17 orbitup User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Akh: you rock the who ha!thankya.

Reply With Quote
  #20  
Old December 21st, 2003, 11:30 PM
orbitup orbitup is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2003
Posts: 17 orbitup User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Furth trials and tribualations

I have 4 little boxes inside a big box.
I want them to be centered within the big box, and i cant seem to find the CSS code to do this. box-align: center is apperently not a command:P

matt

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignCSS Help > CSS: total control over positioning of boxes


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway