homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Visit PubCon.com
Home / Forums Index / Code, Content, and Presentation / WYSIWYG and Text Code Editors
Forum Library, Charter, Moderator: open

WYSIWYG and Text Code Editors Forum

Creating 1 pixel cell borders.
But Dreamweaver won't let me make cell widths less than four?

 4:42 am on Feb 25, 2006 (gmt 0)

I'm trying to use the 1 pixel width color filled cell trick to create thin borders around my tables. I know this is a standard practice but I've had a very frustrating time trying to figure this out all day.

I couldn't find any specific tutorials anywhere and I did manage to get some code from a website that has already accomplished what I'm trying to do, but as soon as I make any small change to the table layout the borders shift and thicken by a few pixels.

I need to learn how to do this. This has become very personal, and it doesn't help that I could accomplish what I want to do in flash in about 30 seconds, but for the life of me I can't make it work in dreamweaver. And I NEED to make it work in dreamweaver.

I need to learn how to do this. I know I am definitely missing something somewhere. I've tried spacer gifs... I've tried nesting thirty something tables into each other... All attempts up to this point have been fruitless.

No matter what I do dreamweaver will not let me create a cell less than 4 pixels wide. Even if I edit the code manually they will still remain 4 pixels wide.

If someone out there can post some code that I can learn from I would really appreciate it!





 12:46 pm on Feb 25, 2006 (gmt 0)

It's more standard practice to use css to create your thin borders.

In your html:

<table class="tablewithborder">

In your css file:

table.tablewithborder {
border: 1px solid #000000;


 4:20 am on Mar 9, 2006 (gmt 0)

Yes, CSS was definitely the way to go. I can't believe I beat myself up for days over something so basic.



Global Options:
 top home search open messages active posts  

Home / Forums Index / Code, Content, and Presentation / WYSIWYG and Text Code Editors
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved