|
-
Dec 1st, 2001, 05:48 PM
#1
Thread Starter
Registered User
keep an image a certian size so it doens't cascade in teh cell in html?
Hello everyone, i have a table and i just want to put an image file in the table, but i odn't want it to repeat itself over and over again until it fills the whole cell, how can i make it so the image stays the same size and there is still space left over in the cell?
this is the script:
Code:
<body LEFTMARGIN="0" RIGHTMARGIN="0" TOPMARGIN="0" MARGINWIDTH="0" MARGINHEIGHT="0">
<table border = "0" cellspacing ="0" cellpadding ="18" width ="100%" height ="130">
<tr>
<td bgcolor ="#336699" width ="100%"
background ="graphics/s8.jpg" valign ="5">
<font face ="arial" size ="+1" color = "white">
<center>
A Site Made for people who like
Programming
</center>
</font></td>
</tr>
</table>
Also if any of u know how to make tables so they arn't just square like how do u make htem have rounded edges and such? thanks for listening.
-
Dec 1st, 2001, 06:34 PM
#2
Code:
<td bgcolor ="#336699" width ="100%"
background ="graphics/s8.jpg" valign ="5" style="background:no-repeat;">
As for question 2, I don't think you can do that, unless you use graphics for the edges, then set the border to 0. But with normal tables, I don't think you can.
Laugh, and the world laughs with you. Cry, and you just water down your vodka.
Take credit, not responsibility
-
Dec 3rd, 2001, 06:34 AM
#3
Fanatic Member
no you can't make tables that have round corners on them, well at least i haven't managed to find a way to do it, the best bet like crptblade said, would be to make the pictures that you want in them to have rounded edges and then to make the table have a border of 0.
Some people have told me they don't think a fat penguin really embodies the grace of Linux, which just tells me they have never seen a angry penguin charging at them in excess of 100mph. They'd be a lot more careful about what they say if they had.
-- Linus Torvalds
[ Galahtech.com] | [ My Site] | [ Fishsponge] | [ UnixForum.co.uk]
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|