luckbedamned Posted October 21, 2012 Share Posted October 21, 2012 here's the link: http://www.superdupersites.com/strange view the source, hit ctrl+f, type "page 2", and hit enter twice. it will show the table with the words "Page 2!" in it, and the table cell is aligned to be "center", but on the display, it shows it aligned to the left... i designed this site, and i seriously have no idea why this is happening... it's got me bugged too. any help would be greatly appreciated Quote Link to comment https://forums.phpfreaks.com/topic/269752-strange-bug-in-the-code-100-super-duper-points-to-whoever-can-solve-this-riddle/ Share on other sites More sharing options...
kicken Posted October 22, 2012 Share Posted October 22, 2012 I'm assuming you're talking about the page http://www.superdupersites.com/strange/page_2.php since the one you linked only contains the text 'page 2' once in the nav bar. The reason it is displaying that way is because of your display: inline-block; definition that you have set on the table (via the .rounded-corners class). It is causing the table's body to only fill the minimum required space rather than the whole width of the page. Quote Link to comment https://forums.phpfreaks.com/topic/269752-strange-bug-in-the-code-100-super-duper-points-to-whoever-can-solve-this-riddle/#findComment-1386859 Share on other sites More sharing options...
luckbedamned Posted October 22, 2012 Author Share Posted October 22, 2012 i actually did some digging into the classes, and realized the same thing. i'm looking for a solution as of now... but it'd odd. other tables with the same classes (Home page index.php) do not have the same effect. they are aligned correctly, yet they still have the same class of rounded-corners. the header "Troll lol!" on index.php demonstrates this. reglardless of the oddity, do you have any solutions for this? i tried changing the display of the class to just "block", but no luck. If i cange the display to inherit, the corners lose their rounded-ness. any suggestions? Quote Link to comment https://forums.phpfreaks.com/topic/269752-strange-bug-in-the-code-100-super-duper-points-to-whoever-can-solve-this-riddle/#findComment-1386862 Share on other sites More sharing options...
luckbedamned Posted October 22, 2012 Author Share Posted October 22, 2012 The reason it is displaying that way is because of your display: inline-block; definition that you have set on the table (via the .rounded-corners class). It is causing the table's body to only fill the minimum required space rather than the whole width of the page. btw, 50 super duper points for you Quote Link to comment https://forums.phpfreaks.com/topic/269752-strange-bug-in-the-code-100-super-duper-points-to-whoever-can-solve-this-riddle/#findComment-1386863 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.