File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes HTML, CSS and JavaScript and the fly likes CSS help Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "CSS help" Watch "CSS help" New topic

CSS help

Cheikh Sow

Joined: May 23, 2005
Posts: 11
guys I have a problem I am doing a web site where I dont have
access to the CSS file. But the site content is written entirely
using tables many of them. There is a left navigation width
=182, right navigation width=162, but nothing is there unless
you put something in it and a content (.body_copy)that is 97%.
As I can tell the content itself can be divided with content_left width=228
and content_right=remaining_content
What I notice is in the CSS code there is no dimension given for
So my question is is it possible to redefine the .body_copy to give
it a width and create another class and give it a width of 228?
Note .body_copy and content_left should be parallels
Right now this is the content's CSS
.yellow_body {
background-color: #FFFFCC;
font-family: Arial, Helvetica, sans-serif;
font-size: 90%;
color: #000000;
padding: 5px;
border-bottom-width: 1px;
border-bottom-style: solid;
border-bottom-color: #000066;
.body_copy {
font-family: Arial, Helvetica, sans-serif;
font-size: 90%;
color: #000000;
padding: 5px;
Eric Pascarello

Joined: Nov 08, 2001
Posts: 15385
It is valid to have multiple rules for things

foo{ color: #345345; }
foo{ background-color: #CCCCCC; }

Paul Clapham

Joined: Oct 14, 2005
Posts: 19973

... and they don't have to be in the same CSS file, either.
subject: CSS help
It's not a secret anymore!