Results 1 to 8 of 8

Thread: Web template

  1. #1
    Join Date
    Oct 2006
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Web template

    On my web www.rfsmutshack.com it is plain but in deamweaver it has al lines i want them on my site so i can see them how do i do that?

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    You cannot have things like this:

    HTML Code:
    <img src="file:///C|/Documents and Settings/Luke/Desktop/mm_spacer.gif"
    They need to be valid relative paths or valid absolute server paths.

    This type of thing is also no good:

    HTML Code:
    <tr bgcolor="02021E">
    These kind of references really should be done via style but, if you really want to use this deprecated method, it needs to be:

    HTML Code:
    <tr bgcolor="#02021E">
    There could be other problems.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  3. #3
    Join Date
    Oct 2006
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    What you talking about i mean lines at the side like a box thats all i want is there a thing i can make to mdo that??

  4. #4
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    I thought you said you could see them in DW.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  5. #5
    Join Date
    Oct 2006
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    i can but i cant see them in my web browser i want to see them in my web browser

  6. #6
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    OK, so let's see then. I don't use DW, but have used other WYSIWYG editors. What you see in the browser though, is governed by what the browser understands. The two things I pointed out (and there are others like them, as well as could be other errors of coding that are of a different sort) are things that the browser will not understand. The fact that the browser doesn't understand those things may or may not be directly related to what you want to see in the browser but are not seeing.

    If the stuff you see in DW is layout and/or content, if it is correctly coded, it will appear in the browser as well. If it is just some kind of alignment grid that helps you to organize your content as you go about designing your page, you will need to find a way to render that look in the browser.

    Since I have no way of knowing exactly what you are not seeing, I just went for the obvious, the code errors.

    Incidentally, what the browser understands is a larger set of coding practices than what is considered valid. What I pointed out as errors, not even a browser would understand. However, it is better to code to valid standards, that way even browsers that do not make allowances as many do, will still render your content and layout as intended. Also when one browser makes allowances for invalid code, another may do so as well but, in a different way. With valid code the differences between browsers is much less.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  7. #7
    Join Date
    Oct 2006
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Its a alignment grid that helps me to organize your content but can you help me render it to my site?

  8. #8
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    You can use the existing elements on your page to generate outlines by adding this or variations on it to the style section:

    Code:
    td, div, p, span, a {
    border:1px solid red;
    }
    If you want less lines, get rid of some of the selectors (td, div, p, span, a). If you want different lines, you will need to create divisions or tables in and around your existing content that can support borders with your desired look.

    Borders do not have to go all the way around an element, you can specify just:

    Code:
    border-top:2px solid gray;
    for example, or border-left:, border-right:, border-bottom: or any combination of these.

    It would probably be a good idea to read up on css style:

    http://www.w3schools.com/css/

    and:

    http://www.blooberry.com/indexdot/css/
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

Bookmarks

Posting Permissions

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