Jump to content

Stefan444

Members
  • Posts

    4
  • Joined

  • Last visited

Everything posted by Stefan444

  1. If I select the HTML5 verification a lot of other errors pop up.Most of them I could solve (Bad value DC.source/format,....) but there are also the errors "Attribute srcset not allowed on element img at this point" and the error in Google analytics script.
  2. Thx for the answer.Since HTML5 is still in experimental mode I would rather not use it.What must I use to make this XHTML Transitional 1.0 compliant?
  3. [size=3][font=arial, helvetica, sans-serif]Hello,[/font][/size] [size=3][font=arial, helvetica, sans-serif]When validating W3C XHTML 1.0 Transitional I keep getting the error there is no attribute "srcset".[/font][/size][size=3][font=arial, helvetica, sans-serif]The code looks similar to the one on [url="http://www.w3.org/html/wg/drafts/srcset/w3c-srcset/"]http://www.w3.org/ht...set/w3c-srcset/[/url], but it still doesn't work.[/font][/size] [size=3][font=arial, helvetica, sans-serif]<div class="imageself self" style="width:468px;height:121px;">[/font][/size][size=3][font=arial, helvetica, sans-serif]<img width="468" height="121" id="image-1111C3BE-A814-4536-B78D-5AE9BCA3AA66" class="mobile-shrunk" src="http://www.xxx.be/onewebstatic/3303f82ae3-DeBedenkerij_logo_white_hires.jpg" srcset="http://www.xxx.be/onewebstatic/3303f82ae3-DeBedenkerij_logo_white_hires.jpg 570w, http://www....white_hires.jpg 1x" style="display:block;" title="" alt="De Bedenkerij" /> </div>[/font][/size] [size=3][font=arial, helvetica, sans-serif]Thanks for any tips :-)[/font][/size]
  4. Hi, I'm trying to position my menu in the lower left corner of the background image.The background image stays ok when resizing my browser window, but the menu keeps on sliding.The background image is 1024 x 768 pixels The CSS code: body {background: #000000;font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;font-size: small;color: #555E4F;background-image:url('images/background.jpg');background-repeat:no-repeat;background-attachment:fixed;background-position:top center;} /* menu */#menu1 { width: 160px;text-transform: uppercase;font-weight: bold;font-size: 14px;color: #323B2Edisplay:block; } #menu1 ul {margin: 0px;list-style-type: none;padding: 0px;} #menu1 li {padding-left: 43em;} #menu1 a {display: block;width: 190px;padding: 4px 0px;background-color: #D9D9D9;border-top: 1px solid #EDEDED;border-bottom: 1px solid #B5B5B5;text-align: center;text-decoration: none;text-transform: uppercase;font-weight: bold;color: #808080 ;} #menu1 a:hover {background-color: #8A8A8A;border-top: 1px solid #E3E3E3;border-bottom: 1px solid #E3E3E3;color: #FFFFFF;} For the HTML code:<div id="menu1"><ul><li id="menu-01"><a href="/nl/dutch">Dutch</a></li><li id="menu-02"><a href="/eng/english.html">English</a></li></li></ul></div>
×
×
  • Create New...