- This topic is empty.
January 20, 2015 at 10:20 pm #193764AnonymousInactive
Hello, i’m using bootstrap and I want my contents to be proper align, I use <table> but when i reload it, it sometimes seems like it re-align, i think there is something bootstrap css that overwrite my custom css.
check out this image: (mine)
check out this image: (results when i reload it so many times)
[MOD EDIT – Codedump Removed]January 21, 2015 at 12:06 am #193768
If it happens sometimes then I don’t see how it can be caused by the code. I would sooner think it’s the internet connection (or the server).January 21, 2015 at 12:29 am #193769AnonymousInactive
but it happens all the time :(
i think it’s the table css of bootstrap :|
but i can’t figure it out.January 21, 2015 at 12:38 am #193771
Okay, that’s not what’s it says in the first post… but without seeing the page live, it hard to say much more than to make sure your custom CSS is loaded after Bootstrap’s (placing it below that in the HTML doc).
It could indeed also be the table layout is interfering somehow but that can’t be analysed through an image…January 21, 2015 at 3:31 am #193784
Using tables for layout (even Bootstrap tables) is a very bad idea as this demonstrates.
There is nothing in the section that resembles tabular data…I’d restructure using proper layout elements.January 21, 2015 at 3:38 am #193787
I see it aligning but it always ends up in the correct place. Must be related to the @media rules – it seems to ‘align’ from the top on a smaller screen size. Couldn’t say what would solve it though.
Edit – other than Paulie’s suggestion (simultaneous post).January 21, 2015 at 3:41 am #193788
It’s worth pointing out that the ‘heading’ is not in the same table as the content below…which is also an issue.January 22, 2015 at 3:15 am #193925
So what’s the possible solution for this? Thanks a lot.
If you must use a table for layout then use one table.
Other than that, your question is really to broad. They are many, many, many ways of laying out web pages.
- The forum ‘CSS’ is closed to new topics and replies.