css - trying to display a picture in XML -
a picture of piece of pie suppose display, won't. code picture individual used in video tutorial, changed name of picture. have asked teachers , response received size of picture might issue. images not exceed size of 48 x 48 pixels , not. code have listed 1 entry. appreciate might give me. thank you, tisha
<?xml version="1.0"?> <?xml-stylesheet type="text/css" href="pies6.css"?> <pies> <pie> <indo>pp12</indo> <name>perfect pecan</name> <factory>baker</factory> <price>$8.30</price> <b-s>t</b-s> <html:img xmlns:html='http://www.w3c.org/tr/rec-html40/' src='images/pecan.gif' /> </pie> </pies>
the css code is:
pies { background-color:#e0f8f7; width:100%; } pie { display:block; margin-bottom:60pt; } name { display:block; color:#0b2161; margin-left:15pt; font-size:25pt}
this works in firefox 27 (linux), chrome 33 (linux), , ie9 (win7).
<?xml version="1.0"?> <?xml-stylesheet type="text/css" href="pies6.css"?> <pies> <pie> <indo>pp12</indo> <name>perfect pecan</name> <factory>baker</factory> <price>$8.30</price> <b-s>t</b-s> <html xmlns="http://www.w3.org/1999/xhtml"> <img src="images/pecan.gif" /> </html> </pie> </pies>
Comments
Post a Comment