eduard Posted August 14, 2011 Share Posted August 14, 2011 How do I get text between the 2 images of the 2nd div (content) of the homepage of my website (www.eduardlid.com)? Link to comment Share on other sites More sharing options...
Drycodez Posted August 14, 2011 Share Posted August 14, 2011 <img id="img1"/><span id="txt">some text goes here...</span><img id="img2"/> EDIT: just put the text between the two images... If you want it verticaly, then use the line-break tag (<br/>). E.g: <img id="img1"/> <br/> <span id="txt">some text goes here...</span><br/><img id="img2"/> i believe that will not be too hard for you to do! Link to comment Share on other sites More sharing options...
eduard Posted August 14, 2011 Author Share Posted August 14, 2011 <img id="img1"/><span id="txt">some text goes here...</span><img id="img2"/> EDIT: just put the text between the two images... If you want it verticaly, then use the line-break tag (<br/>). E.g: <img id="img1"/> <br/> <span id="txt">some text goes here...</span><br/><img id="img2"/> i believe that will not be too hard for you to do! Many thanks! However, I don´t understand well: <div></div>, <id></id><class></class> and now <span></span>!Could you explain this to me please (with examples)? Link to comment Share on other sites More sharing options...
thescientist Posted August 14, 2011 Share Posted August 14, 2011 where are you getting <id> and <class> tags from? As for the <span> , why don't you just look it up?http://www.w3schools.com/tags/tag_span.asp Link to comment Share on other sites More sharing options...
Drycodez Posted August 14, 2011 Share Posted August 14, 2011 There are no such tag as <id> or <class> , they are only html attributes. As for <span>, span is used to give a special style to a path of an html document. Follow the link given to you by scientist and you will understand what i mean. Link to comment Share on other sites More sharing options...
eduard Posted August 14, 2011 Author Share Posted August 14, 2011 where are you getting <id> and <class> tags from? As for the <span> , why don't you just look it up?http://www.w3schools.com/tags/tag_span.asp Sorry, it was early! Link to comment Share on other sites More sharing options...
eduard Posted August 15, 2011 Author Share Posted August 15, 2011 <img id="img1"/><span id="txt">some text goes here...</span><img id="img2"/> EDIT: just put the text between the two images... If you want it verticaly, then use the line-break tag (<br/>). E.g: <img id="img1"/> <br/> <span id="txt">some text goes here...</span><br/><img id="img2"/> i believe that will not be too hard for you to do! I have got the text, but I´ve lost all the images?<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN""http://www.w3.org/TR/html4/strict.dtd"><HTML><head><meta http-equiv="content-type" content="text/ html; charset=UTF-8"><title>Eduard Lid</title><link rel="stylesheet" type="text/css" href="ex1.css"></head><div id="body"><div id="header"><a href="http://www.viadeo.com/es/profile/eduard.lid"><b><h4>Profile</h4></b></a><a href="web_designer/image_and_text_database.html"><b><h4>Web designer</h4></b></a></div><div class="english spanish"><a href="versions/english/image_and_text_database.html"><img src="http://3.bp.blogspot.com/_cIPQ-HCqBAg/TAKoVdt59AI/AAAAAAAAAK4/fvqQE-B5g0w/s1600/english+flag.gif" alt="english" class="english"></a><a href="versions/espanol/base_de_datos.html"><img src="http://www.enchantedlearning.com/europe/spain/flag/Flagbig.GIF" alt="spanish" class="spanish"></a></div><div id="content"><img style="border-right:2px solid grey"src="http://www.aquaculture.ugent.be/_img/database.jpg" id="dbimg" alt="img database"align="left" width="320" height="256"><span id="txt"><i>w<br/>e<br/>b<br/>d<br/>e<br/>s<br/>i<br/>g<br/>n<br/></i></span><br/><img style="border-left:2px solid grey" src="images/me.JPG" alt="Eduard Lid" align="right" width="320" height="256"></div><div id="footer"><p><h4>Eduard Lid </h4></p></div></HTML> Link to comment Share on other sites More sharing options...
eduard Posted August 15, 2011 Author Share Posted August 15, 2011 You write: <img id>. How about <img style>? Link to comment Share on other sites More sharing options...
Drycodez Posted August 15, 2011 Share Posted August 15, 2011 I used img id, not because i want you to also use it, i used it so that you ll know were the first image should be and were the second image should be. Its just a refrence! Link to comment Share on other sites More sharing options...
eduard Posted August 15, 2011 Author Share Posted August 15, 2011 I used img id, not because i want you to also use it, i used it so that you ll know were the first image should be and were the second image should be. Its just a refrence!Ok, thanks! Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.