SitePoint Sponsor

User Tag List

Results 1 to 7 of 7

Thread: XHTML Frameset

  1. #1
    SitePoint Addict phptek's Avatar
    Join Date
    Jun 2002
    Location
    Wellington, NZ
    Posts
    363
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    XHTML Frameset

    Hi folks:

    I've spent all morning trying to validate my site using the XHTML Frameset DTD and have found a lot of tips right here on SP [img]images/smilies/smile.gif[/img] - however, I'm just *one* step away from validating and validator.w3.org baulks at:
    Code:
     <frameset rows='100%' cols='172,*' border='0'>
    [img]images/smilies/frown.gif[/img]

    If I take out border='0' then it'll validate but there's a nasty gap where the frameborder would go if I set frameborder='1'. (Present in IE 5+/Opera 6.05+ and especially pronounced in any Gecko browser)

    See the attached screenshot of the gap I mean, between the top utility navigation and the left-hand main navigation frame.

    Can anyone help me out and get this puppy validated? [img]images/smilies/smile.gif[/img]

    Cheers.
    Attached Images Attached Images

  2. #2
    gingham dress, army boots... silver trophy redux's Avatar
    Join Date
    Apr 2002
    Location
    Salford / Manchester / UK
    Posts
    4,838
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    haven't done frames in ages, but...you should be able to set the border via CSS. give the frameset an ID, and assign a property of border: none to it ?
    Code:
    your html:
    <frameset rows='100%' cols='172,*' id="myframes"> 
    
    your css:
    
    #myframes {
        border: none;
    }
    re·dux (adj.): brought back; returned. used postpositively
    [latin : re-, re- + dux, leader; see duke.]
    WaSP Accessibility Task Force Member
    splintered.co.uk | photographia.co.uk | redux.deviantart.com

  3. #3
    SitePoint Addict phptek's Avatar
    Join Date
    Jun 2002
    Location
    Wellington, NZ
    Posts
    363
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Cheers redux - but I tried all these in CSS ID and class form to no avail:

    Code:
    <frameset rows='100%' cols='172,*' id='fset'> and:
    <frameset rows='100%' cols='172,*' class='fset'>
    #fset
    {
     border-collapse:	collapse;
    }
    #fset
    {
     border-width:	 0px;
    }
    #fset
    {
     border:	   none;
    }
     
    and:
     
    .fset
    {
     border-collapse:	collapse;
    }
    .fset
    {
     border-width:	 0px;
    }
    .fset
    {
     border:	   none;
    }
    Any other suggestions ?? Cheers for that though mate..

  4. #4
    ********* Wizard silver trophy Cam's Avatar
    Join Date
    Aug 2002
    Location
    Burpengary, Australia
    Posts
    4,495
    Mentioned
    0 Post(s)
    Tagged
    1 Thread(s)
    Code:
    frameset {
       border-collapse: collapse;
       border: none;
    }
    Try this

  5. #5
    SitePoint Addict phptek's Avatar
    Join Date
    Jun 2002
    Location
    Wellington, NZ
    Posts
    363
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    DJ P@CkMaN

    Cheers for that but it didn't work either I already tried border-collapse in one of the classes in my last post.

    b**ger.

  6. #6
    gingham dress, army boots... silver trophy redux's Avatar
    Join Date
    Apr 2002
    Location
    Salford / Manchester / UK
    Posts
    4,838
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    re·dux (adj.): brought back; returned. used postpositively
    [latin : re-, re- + dux, leader; see duke.]
    WaSP Accessibility Task Force Member
    splintered.co.uk | photographia.co.uk | redux.deviantart.com

  7. #7
    SitePoint Addict phptek's Avatar
    Join Date
    Jun 2002
    Location
    Wellington, NZ
    Posts
    363
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    redux:

    Thanks a lot for that - what are your thoughts on displaying XHTML compliancy (non-framset) logos in each (compliant) frame?

    Is that some sort of copout do you think?
    Thanks again.


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
  •