Bograth
Member
Posted 2 years ago #
Just started using WordPress and are now almost finished.
But when I'm trying to add a picture into the ABOUT page it just won't stay on a separate line than the text.
Whatever I do it "blends" witht the text and I get the picture and the text on the same line. I've tried going into the "code" page and using [br] aswell as [br /] but the command is removed by the texteditor.
(replace [] with <>)
What am I doing wrong?
to illustrate it's easiest to give you the link.
http://mtb.razbo.net/?page_id=2
Thank you for any help you can give!
Regards
Bograth
Look at your stylesheet:
/* IMAGE STYLE */
img {
float: left;
padding-right: 5px;
border: 0;}
Bograth
Member
Posted 2 years ago #
What should i change to get it working?
This is a theme found on the webpage... i thought they all worked?
Thanks!
Of course, they work, and I would say it works pretty nice - 99.99% of users prefer to have text wrapped around images: exactly what your theme does.
What you want is an unusual request - just FYI.
Remove the code from your stylesheet.
Bograth
Member
Posted 2 years ago #
Ok, then I know what to do.
Thanks mate!
Bograth
Member
Posted 2 years ago #
Just a question, is it possible to have both?
can i add something like
#pic
img {
float: left;
padding-right: 5px;
border: 0;}
And then <img id="pic"....
Or is there another easier way?
Thanks!
You create a class in your stylesheet, e.g.
.myleftpic {
float: left;
padding-right: 5px;
border: 0;}
and in the post you add to the img tag that class:
img src="http..etc" class="myleftpic" alt="" />
Bograth
Member
Posted 2 years ago #
ok, thanks a bunch!
Much appriciated, gonna do this now :)
Bograth
Member
Posted 2 years ago #
It worked perfectly, again thank you!