html - Text inline with centered image -


There is some difficulty with this one, I have not learned HTML but I am hanging it.

On my website, I have a logo focused on top of the site. I want to add some text to the left of the website inline with no image in place of the image.

  Logo logo logo here Logo | ---------- -------------------- | (Page width)  

The text can not be above or below the logo because it corrupts the rest of the page.

EDIT: I "I have now" because it is confusing outside of context.

How will you handle this scenerio?

Sorry, but do you want it? :)

  & lt; Div class = "wide" & gt; & Lt; Img src = "path / in / image" & gt; & Lt; / Img & gt; & Lt; Span & gt; Text here & lt; / Span & gt; & Lt; / Div & gt;  

Just wrap the logo segment in a cover.

Make it relative (hence the children's full position is relative to this element and not the page).

then the position full text.

Make the value of the left and lower position of the text 0, then it sticks to the lower left.


Comments

Popular posts from this blog

apache - 504 Gateway Time-out The server didn't respond in time. How to fix it? -

c# - .net WebSocket: CloseOutputAsync vs CloseAsync -

c++ - How to properly scale qgroupbox title with stylesheet for high resolution display? -