Trying to add and align something in this DIV
I hope somebody can help.
Here is a weather pic i am adding to my page, but, I want to add the current time to the top right of the square ( beside the pic and up a little bit). Can somebody show me where to put the DIV for the time?
here is the code
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<style type="text/css" media="screen">
<div id = "weather">
print "<img src=http://us.i1.yimg.com/us.yimg.com/i/us/we/52/28.gif>";
<div id ="weathertext">
print " 34"."° C"; // 16
thanks in advance.
You could put it after #weathertext or before #weather. You may need to drop #weather and #weathertext in their own div to keep their alignment in tact before you start making adjustments to the other text.
I dont understand, can somebody show me how to do it?
Originally Posted by infinityspiral
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)