dcsimg
www.webdeveloper.com
Results 1 to 7 of 7

Thread: Problems with layout of web page...

  1. #1
    Join Date
    Apr 2004
    Posts
    3

    Problems with layout of web page...

    I am trying to get a graphic all the way accross the top of a web page I am building, but am having problems. An example of the effect I want to create is here:

    http://www.lasarchery.com/sights-reticles.asp

    I set my margins at "0", but still get a tiny margin around the graphic. I looked at the HTML, but the page is built using frames, which I do not want to do, unless it's absolutely necessary. Can anyone help me create this? Thanks very much in advance!

  2. #2
    Join Date
    Nov 2003
    Location
    Jerryville, Tejas
    Posts
    11,715
    You problem could be the line height associated with inline elements like images. I feel like I have better control over images in banners by putting them in the background.

  3. #3
    Join Date
    Apr 2004
    Posts
    3
    Thanks for your help! After playing with my table coding, I was able to get the problem fixed, but I do see why you would suggest your tip...

  4. #4
    Join Date
    Nov 2003
    Location
    Jerryville, Tejas
    Posts
    11,715
    After playing with my table coding . . .
    Maybe we've discovered the root of the problem. This is a job for <div> not <table>.

  5. #5
    Join Date
    Apr 2004
    Posts
    3

    Question <DIV>

    I haven't a clue what a <DIV> tag is or how to use one....

  6. #6
    Join Date
    Jan 2004
    Posts
    2,422
    It basically just works to <div>ide text into sections, then you style the sections. i.e.: <div id="header"><h1>Foo</h1></div>

  7. #7
    Join Date
    Apr 2003
    Location
    Canyon Country, CA
    Posts
    734
    The style method relies on CSS. Remember...HTML = Information; CSS = Presentation...

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles