J
Jeff Cooper
Hey folks,
Silly question from someone just starting out on this...
I've tried both the old <center></center> tags and <div align=center></div>
and they seem to be ignored when I view the page in a browser. I used the
designer to add an image control to the page. I'd like that image to be
centered. The code that it added is:
<asp:Image id="Image1" style="Z-INDEX: 101; LEFT: 60px; POSITION: absolute;
TOP: 44px" runat="server"
Width="800px" Height="600px"></asp:Image>
Now, what do I do -- specifically please -- to that code, or around it, to
make it center in the browser window (and remain centered as the browser is
resized. Just like it would if I typed <center><img ..></center> in the
nodepad.
Also, I really don't care at this point if I'm using an image control or an
img html tag -- whatever works.
Thanks,
Jeff
Silly question from someone just starting out on this...
I've tried both the old <center></center> tags and <div align=center></div>
and they seem to be ignored when I view the page in a browser. I used the
designer to add an image control to the page. I'd like that image to be
centered. The code that it added is:
<asp:Image id="Image1" style="Z-INDEX: 101; LEFT: 60px; POSITION: absolute;
TOP: 44px" runat="server"
Width="800px" Height="600px"></asp:Image>
Now, what do I do -- specifically please -- to that code, or around it, to
make it center in the browser window (and remain centered as the browser is
resized. Just like it would if I typed <center><img ..></center> in the
nodepad.
Also, I really don't care at this point if I'm using an image control or an
img html tag -- whatever works.
Thanks,
Jeff