Avatar of andy7789
andy7789 asked on

CSS: placing span inline with table

Hi X-perts,

Here is my page structure:

                       <table id="A">.....</table
                       <span id="B">.....</span>

Though table and span are box elements, the span B goes below table A. How can I fix it to force table A and span B inline?



Avatar of undefined
Last Comment

8/22/2022 - Mon
Michel Plungjan

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
See how we're fighting big data
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
Pawel Witkowski

inline? Cant you just do that?

                       <table id="A">.....</table>
                       <span id="B">.....</span>


Or do you need those elements in line ? if yes then you need to set display:inline as mplungjan proposed.

works fine - thank you
All of life is about relationships, and EE has made a viirtual community a real community. It lifts everyone's boat
William Peck