HighDots Forums  

How to get centered div with 1px border?

Cascading Style Sheets Layout/presentation on the WWW (comp.infosystems.www.authoring.stylesheets)


Discuss How to get centered div with 1px border? in the Cascading Style Sheets forum.



Reply
 
Thread Tools Display Modes
  #11  
Old   
deko
 
Posts: n/a

Default Re: How to get centered div with 1px border? - 06-07-2006 , 11:44 PM






Quote:
This was my first attempt at using a table navbar. I like the idea because
there are no images - keeps page size down.

Funny thing is that I see 5 calls for _s1.gif_ in your table.
Yes, but at 0.07 KB

Speaking of that gif, any idea how I can get that bevel on the first (extreme
left) and last (extreme right) "tab" in the nav table? I've created the
appropriate gifs, but I don't know how to insert them in the table without
screwing up the cells.

Quote:
Nothing actually, but don't use it if you don't have to and you don't have to
in most instances.
You have to understand that an absolutely positioned element is out of the
normal flow.
10-4. That makes sense.



Reply With Quote
  #12  
Old   
deko
 
Posts: n/a

Default Re: How to get centered div with 1px border? - 06-07-2006 , 11:45 PM






Quote:
body { font-size: 100%; } /* everyone's default size */
h1 { font-size: 140%; } /* <-- or similar for headings */
h2 { font-size: 125%; }
h3 { font-size: 115%; }
I'll give it a shot. Thanks.


Reply With Quote
  #13  
Old   
deko
 
Posts: n/a

Default Re: How to get centered div with 1px border? - 06-08-2006 , 12:37 AM



Quote:
Speaking of that gif, any idea how I can get that bevel on the first (extreme
left) and last (extreme right) "tab" in the nav table? I've created the
appropriate gifs, but I don't know how to insert them in the table without
screwing up the cells.
figured it out - set bgcolor individually in the page (rather then the
stylesheet) and make another column for the leading/trailing images



Reply With Quote
Reply




Thread Tools
Display Modes

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



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.