FRIHOSTFORUMSFAQTOSBLOGSDIRECTORY
You are invited to Log in or Register a Frihost Account!

Help with some issues on my website

 


ltwomba
Hi,
I wish you could help with some display issues I experience in my website (it's a school project in French about black holes).
First, body is not centered and background doesn't get colored in IE.
Also, under the menu on top I get a white space (I got that when I added the <a href>s for those pictures).
If you notice anything else you could help me with, I'd be glad to hear you.
Thank you very much!

PS: I know most links don't work, it's just because I'm building the design before writing the content. I just put three pages to test the template.
manum
for the image thing try this

<a href = "http://www.yahoo.com"><img src = "name_of_image.jpeg" border = "0"></a>

and i think that for body background color you need to use the bgcolor="black" tag
ltwomba
I got this on my CSS already:
Code:
html {
   background: #222;
   font: 0.75em/1.3 Verdana, Helvetica, Arial, Sans-serif;
   text-align: center;
}

body {
   margin: 0 auto;
   padding: 0;
   text-align: left;
   width: 700px;
   background: #fff;
   border-left: 1px solid #000;
   border-right: 1px solid #000;
}

a
{
  outline: none;
  text-decoration: none;
}

img
{
  border: 0;
}
ravi_9793
instead of thinking so much...why dont you use any other theme which fits ur requirements.
ltwomba
ravi_9793 wrote:
instead of thinking so much...why dont you use any other theme which fits ur requirements.

Because I did the theme myself, I didn't download it, and I just need to fix these to have it working properly...
ravi_9793
ltwomba wrote:
Because I did the theme myself, I didn't download it, and I just need to fix these to have it working properly...


ohh.if it is your own project..than you should be aware of the codes used ..and how to modify those codes.
ltwomba
Finally I was able to solve it with some help by changing the DOCTYPE and adding "display: block" to "img".
mothmann
in your css code, why do you have anything placed under html? why not place it in the body? then place your content in <div> tags (perferably with id's <div id="content">) so that they can be called independently in your css (#content {text-align: left;}).... or does the css have to be placed in the html because of your javascript?
welshsteve
I've looked at the site in Firwefox, IE7, Opera and Netscape, and it all looks fine to me.
Reply to topic    Frihost Forum Index -> Scripting -> Html, CSS and Javascript

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2007 Frihost, forums powered by phpBB.