"-" outlining

Questions and tutorials related to Cascading Style Sheets *all versions*

Moderators: macek, egami, gesf

User avatar
gesf
Moderator
Moderator
Posts: 1717
Joined: Sun Dec 29, 2002 5:03 am
Location: Portugal / Sweden
Contact:

Postby gesf » Tue Mar 23, 2004 12:52 am

You want the dotted peoperty!
Example:

Code: Select all

.MyTableBorders{
border-right: #000000 1px dotted; border-top: #000000 1px dotted;
border-left: #000000 1px dotted; border-bottom: #000000 1px dotted;
}

MrAustin
New php-forum User
New php-forum User
Posts: 2
Joined: Sun Apr 10, 2005 7:46 pm

Postby MrAustin » Sun Apr 10, 2005 7:48 pm

Or, the shorthand for borders on all sides, you could use:

Code: Select all

border: 1px dotted #000000;


This will apply the border to all sides with the same properties. If you require different properties on ANY side, then you'd have to use the aforementioned method.

User avatar
swirlee
Moderator
Moderator
Posts: 2272
Joined: Sat Jul 05, 2003 1:18 pm
Location: A bunk in the back
Contact:

Postby swirlee » Mon Apr 11, 2005 7:18 am

Be aware that in IE, the "border-style: dotted" actually renders as "border-style: dashed". Most other modern browsers do it correctly.

User avatar
Alexej Kubarev
Site Admin
Site Admin
Posts: 2223
Joined: Fri Mar 05, 2004 7:15 am
Location: Täby, Stockholms län
Contact:

Postby Alexej Kubarev » Mon Apr 11, 2005 10:12 am

Speaking of IE... i found a really weird thing...

its not css but still: if you have a GET type form ans post data and on of the variables starts with reg_ then it will conver the "reg" part to a Registered trademark symbol in the address bar and it will lead to your form not workin correctly in IE... however works perfect in Mozilla.. and it never surprised me..


Return to “CSS”

Who is online

Users browsing this forum: No registered users and 0 guests

cron