Jump to content

Strange Bug In The Code... 100 Super Duper Points To Whoever Can Solve This Riddle...


luckbedamned

Recommended Posts

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 :)

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.

 

 

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?

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 :)

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.