Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

HTML Forum


You are currently viewing our HTML Forum as a guest. Please register to participate.
Login



Post a Project »

Find a Professional HTML Freelancer!

Find a Freelancer to help you with your HTML projects

FREE Outsourcing eBook!

Reply
Old 06-19-2008, 03:36 PM Doc Type and Table Structure
Experienced Talker

Posts: 47
Trades: 0
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml2/DTD/xhtml1-strict.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
_____

When I added this for my Dropdown Menu, It's changed a size of the cotent area..(LINKS BELOW)

** With Doctype and Dropdown Menu
http://footygfx.co.uk/scotbase/index.html

** Without Doctype and With Dropdown Menu
http://footygfx.co.uk/scotbase/index2.html
_

it's not ignored the CSS but it's changed ... well you can see what it's changed.

Also I seem to have a structure problem, view the template on different
resolutions, It's leaving gabs etc....How do i fix that?

Any Tips..

Thanks, Much Appreciated

Last edited by loyalblue; 06-20-2008 at 06:31 AM..
loyalblue is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 06-19-2008, 05:50 PM Re: Doc Type
JeremyMiller's Avatar
WT Moderator

Posts: 1,712
Name: Jeremy Miller
Location: Las Vegas, NV
Trades: 0
You'll need to provide more code -- perhaps the site?

This displays fine:

HTML Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml2/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
  <head>
    <style>
      p {
        position:absolute;
        top:5%;
        left:35%;
        width:30%;
        height:5%;
        padding-top:5%;
        padding-bottom:5%;
        text-align:center;
        border:1px #000000 solid;
      }
    </style>
  </head>
  <body>
    <p>Here's some text</p>
  </body>
</html>
__________________
Jeremy Miller

Please login or register to view this content. Registration is FREE
JeremyMiller is offline
Reply With Quote
View Public Profile Visit JeremyMiller's homepage!
 
Old 06-20-2008, 06:27 AM Re: Doc Type
Experienced Talker

Posts: 47
Trades: 0
** With Doctype and Dropdown Menu
http://footygfx.co.uk/scotbase/index.html

** Without Doctype and With Dropdown Menu
http://footygfx.co.uk/scotbase/index2.html
_

I've explained it a little bad, it's not ignored the CSS but it's changed ... well you can see what it's changed.

Also I seem to have a structure problem, view the template on different
resolutions, It's leaving gabs etc....How do i fix that?

Thanks, Much Appreciated

Last edited by loyalblue; 06-20-2008 at 06:30 AM..
loyalblue is offline
Reply With Quote
View Public Profile
 
Old 06-20-2008, 02:14 PM Re: Doc Type
JeremyMiller's Avatar
WT Moderator

Posts: 1,712
Name: Jeremy Miller
Location: Las Vegas, NV
Trades: 0
Ah, I don't mess with table-based layouts. I reconstruct them from the ground up. Hopefully someone else who uses the antiquated-table-based layout method can help. You may want to study proper CSS techniques, however, as tables are meant for displaying data, not laying out your page.
__________________
Jeremy Miller

Please login or register to view this content. Registration is FREE
JeremyMiller is offline
Reply With Quote
View Public Profile Visit JeremyMiller's homepage!
 
Old 06-21-2008, 12:46 PM Re: Doc Type
Experienced Talker

Posts: 47
Trades: 0
I know I know...I'm learning full CSS over the summer, I just need this website up and running - Don't have time to learn it at the moment!
loyalblue is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Doc Type
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 1.07813 seconds with 12 queries