A friendly place for programming greenhorns!
Big Moose Saloon
Search
|
Java FAQ
|
Recent Topics
Register / Login
Win a copy of
The Mikado Method
this week in the
Agile and other Processes
forum!
JavaRanch
»
Java Forums
»
Engineering
»
HTML, CSS and JavaScript
Author
Border Spacing and CSS problem
Azrael Noor
Ranch Hand
Joined: Jul 29, 2010
Posts: 369
posted
Aug 18, 2010 09:02:26
0
I am doing this thing
Original
<table width="100%" align="center" height="50" border="0" cellpadding="0" cellspacing="0" leftmargin="0" topmargin="0" valign="top"> </table>
My Changing
.tblmain { width:100%; border-spacing:0; border:0; padding:0; } <table class="tblmain" height="50" leftmargin="0" topmargin="0" valign="top">
By Changing it into CSS, The table is becoming slight enlarge, don't know why
am i using some wrong CSS attribute? (i picked border-spacing attribute after googling
Regards
Azrael Noor
David Newton
Author
Rancher
Joined: Sep 29, 2008
Posts: 12617
I like...
posted
Aug 18, 2010 10:50:46
0
Without knowing what you're trying to accomplish, it's impossible to help My first guess is border-collapse.
Azrael Noor
Ranch Hand
Joined: Jul 29, 2010
Posts: 369
posted
Aug 18, 2010 11:09:09
0
are above concersions appropriate or changing required?
i have made an html
then made scond jsp
calling that html in it,
the whole attributes are roughly written,
so i made css
when i change attribures of .html
the bottom table line is slightily entering into jsp's table
I agree. Here's the link:
http://zeroturnaround.com/jrebel
- it saves me about five hours per week
subject: Border Spacing and CSS problem
Similar Threads
sitemesh (composite views)
NestedSOAPException: Unable to create message
How to download file from www adress to local folder?
HTML does not print properly - table width exceeding 100%?
server side includes-not working in linux server
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter