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

Link to comment
Share on other sites

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.

 

 

Link to comment
Share on other sites

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?

Link to comment
Share on other sites

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

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.