View Full Version : Div,Css Spacing problems


john85
03-01-2005, 08:41 PM
in ie my site looks fine http://www.geocities.com/^^^^_dev_shadow/
because of geocities, it has bugged it a lil bit. but in IE mostly it is fine i have had to make a mirror site for firefox because, the sizes are off from ie (really badly off) and the div areas are not in line when you click the firefox button it will show up like it does on the ie page this is because i haven't found the solution to the firefox problem. and am here asking for help

how do i make divs place spacing between the divs i use a style sheet with this
DIV.table-row {
BACKGROUND-color: #000000;
border: solid #000000 1px;
color: #ffcc3e;
margin-top: 0;
margin-right: auto;
margin-bottom: 0;
margin-left: auto;
padding: 0;
text-align: center;
width: 100%;
filter: alpha(opacity=40); /* Used for IE opacity */
-moz-opacity: 0.40; /* used for mozilla opacity */
opacity: 0.5 /* used i think for opera opacity */
}

i have tried the margin-'s they didn't seem to do much, also the site in opera shows all the black as solid instead of translucent what is the code to make it translucent the 3 listed there handle mozilla and IE

any help as to problems with firefox spacing/sizing and the transparency issues will be greatfull accepted.

Jiru
03-01-2005, 09:41 PM
I'm not sure what you're trying to say.... You want to place things with a stylesheet???? Well, If i were trying to places things i wouldn't use a stylesheet...

Monkey Bizzle
03-02-2005, 04:32 AM
You want to place things with a stylesheet???? Well, If i were trying to places things i wouldn't use a stylesheet...
There is nothing wrong with placing thing with a style sheet. That is the better way to do it. I'm sure once you become more advanced with web design (you probably aren't since you thought that was a bad idea) you will agree.

john85
03-02-2005, 02:07 PM
http://www.geocities.com/d@amn_dev_shadow/

remove the @ the word is disallowed on these forums so it was altered.

i want firefox to work with the ie one, it looks different, i managed to fix the problem, but i had to make a mirror site with different settings. also in opera sizes are off and transparency doesn't work, i want the site to look good in ie (like it does run off my comp) in all the other browsers. i am willing to pack up all of the site and place it on the site above for people to download. because it uses stylesheets and inline frames. its makes it a lil tedious to post all the source. and would proberly be easier if people could run the site locally.

i used margin-top etc to fix my firefox issues i still have to upload the fixed site i did it this morning, and haven't got round to porting.

john85
03-14-2005, 10:41 AM
just to conclude this post, i have fixed my problems have been fixed for a lil while, i used a css file and positioning.
transparency works in both firefox and ie.