adriscoll Posted July 18, 2007 Share Posted July 18, 2007 hello. i am an old school table designer so i don't quite have my arms around the ".css controls all" of the new web. my site: http://knng.varsitysportsradio.com layout is busted because of a misuse by myself of <div> tags (i think). i am trying to get the right column, beginning with the "listen" button to be flush with the rest of the top page. any help would be greatly appreciated. Quote Link to comment Share on other sites More sharing options...
quickstopman Posted July 18, 2007 Share Posted July 18, 2007 well i wouldn't call this something that can be fixed with php Quote Link to comment Share on other sites More sharing options...
gerkintrigg Posted July 18, 2007 Share Posted July 18, 2007 Firstly, there's nothing wrong with Tables... I wrote a paper about it. JAWS is one of the most popular screen readers and their website uses tables, so it's really not a problem provided that you use them properly. essentially you need to split the screen as you would with tables... and I think you should do that with three columns. I'm sure you know how to do that because you have already. i think it's the bSideBar div class that needs changing. All the best N Quote Link to comment Share on other sites More sharing options...
adriscoll Posted July 19, 2007 Author Share Posted July 19, 2007 the .css is at http://varsitysportsradio.com/media/blogs/knng/style.css and the file is attached. I have been trying to fix this for days and can't figure it out. also, i can't get the sidebar background images one the left and right columns to show even though it is coded right (as far as i know). any info would be helpful. thanks. [attachment deleted by admin] Quote Link to comment Share on other sites More sharing options...
Caesar Posted July 20, 2007 Share Posted July 20, 2007 Yeah...this is more of a PHP troubleshooting forum. Though I commend you on looking into CSS. As it is much much better to use CSS/DIVs (Some occasional use of tables..properly structured using correct syntax isn't a bad thing) with clean designs. Firstly, there's nothing wrong with Tables... I wrote a paper about it. JAWS is one of the most popular screen readers and their website uses tables, so it's really not a problem provided that you use them properly. Their site also fails validation http://validator.w3.org/check?uri=http%3A%2F%2Fwww.freedomscientific.com%2Ffs_products%2Fsoftware_jaws.asp http://jigsaw.w3.org/css-validator/validator?uri=http%3A%2F%2Fwww.freedomscientific.com%2Ffs_products%2Fsoftware_jaws.asp&warning=1&profile=css21&usermedium=all May work...but for any commercial entity, it looks pretty unprofessional to not write clean code that validates. It also looks like it was designed in 1997. LOL. No offense. Continue... Quote Link to comment Share on other sites More sharing options...
adriscoll Posted July 20, 2007 Author Share Posted July 20, 2007 caesar, thank you for your input. my site does validate (http://validator.w3.org/check?uri=http%3A%2F%2Fvarsitysportsradio.com%2Findex.php%3Fblog%3D2). as for the issue on my site, it is php, and possibly a php issue as i can not verify that the css is causing the problem. any input on a fix? Quote Link to comment Share on other sites More sharing options...
ToonMariner Posted July 20, 2007 Share Posted July 20, 2007 trigg - there are too many advantages of css layouts over tables to mention - there is NOTHING you can achieve with tables that you can't with div's - with divs having the enormous advantage of managability when it comes to updating your layout. Tables require you to manage things like colspans etc - that is never an issue with css layouts... anyway back to the OP have you validated your code? run it through http://validator.w3.org/. Try and section off each page area and use as little html as is possible. That will help begin eliminating any problems. Also switching to the xhtml1.1 doctype may help..... Quote Link to comment Share on other sites More sharing options...
adriscoll Posted July 20, 2007 Author Share Posted July 20, 2007 the issue at hand is: my site: http://knng.varsitysportsradio.com layout is not functioning as planned, because of <div> tags (i think) or css. i am trying to get the right column, beginning with the "listen" button to be flush with the rest of the top page. also, the image background for each column has disappeared although it 'seems' to be accurate in cms and php. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.