/    Sign up×
Community /Pin to ProfileBookmark

tables borders

ok I am a total newbie and when I draw table with border “1” and IN that table another table with the links like BIO,MUSIC etc.. but the problem is when I put in the second table and choose no border then the first one seems to ad border around the second table altough I shoose no border for second, hope you understand, but I dont want the borders around the second table,second table should have links (wich are under each other with some space between) but whitout borders.working with layers seems easyer but I wish they would remain in place when selecting other resolution..any workaround??

to post a comment
HTML

5 Comments(s)

Copy linkTweet thisAlerts:
@VladdyJun 22.2004 — That is what happens when you use tables where they do not belong.

Navigation is a LIST of links.

Start with a semantically meaningful markup.
Copy linkTweet thisAlerts:
@rammenasauthorJun 22.2004 — I atached a file, I dont want the borders above and beneath the BIO link,I dont have them if I set border of blue table to "0",but i want the blue table to have a black border,I want it to be like the "yes" image,so inserting a cell in the blue table is needed for having that link text?? but then I get the borders even tough for the cell they are set to "0" any solutions to achieve this like I want it or a workaround? thanks.

[upl-file uuid=4751c3b2-cf3d-41c5-8712-eae28fe91ecb size=6kB]yes-no.gif[/upl-file]
Copy linkTweet thisAlerts:
@rammenasauthorJun 22.2004 — I am using dreamweaver btw,as far as I know theres nothing in the manual that gives me some tips about this problem..should be easy to do.
Copy linkTweet thisAlerts:
@MstrBobJun 22.2004 — This is why one does NOT use tables for layout. Tables, as many people here will tell you, are for TABULAR data. There is nothing you are doing here that cannont be done with CSS, and there is way more that can be done with CSS than can be done with tables. And let's not forget that it'd be semantically correct.

[CODE]
<style type="text/css">
<!--
#box1 {
background:#3366ff;
color:#ffffff;
border:1px solid #000000;
width:90px;
height:350px;
padding:5px;
text-align:center;
font-family:Westminster;
}

.link {
background:transparent;
border:0px;
color:#1e90ff;
text-decoration:none;
}

#menu {
padding:0px;
margin-left:0px;
list-style-type:none;
text-align:center;
}
-->
</style>
</head>
<body>
<div id="box1">
<ul>
<li><span class="link">Bio</span></li>
</ul>

</div>
[/CODE]


That'd be a lot better to use. ?
Copy linkTweet thisAlerts:
@rammenasauthorJun 23.2004 — THANKS!!! this will help me move on and learn.
×

Success!

Help @rammenas spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 6.18,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @nearjob,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,
)...