Inserting HTML "Object"

  • Thread starter Thread starter shanesmom
  • Start date Start date
S

shanesmom

I am trying to insert a piece of HTML code into my web
page (that shows the current date when you open the
page). I can successfully paste the code into the HTML
Web Component box and have it show when I preview it in
my browser. The problem I have is repositioning the
item. I am an HTML idiot and have no idea how to do this
manually. Can I move this piece of code with a click and
drag procedure? I have tried selecting the little icon
it leaves on the page but I cannot get it to move.
Please help this newbie! Thanks.
 
The best approach is to design your pages using tables, then you place the
code in a specific cell using the Web Component. However if this is
JavaScript, be careful, as part of the code may be required to be in the
head of the page it is inserted on, which means you will have to work in
HTML view as well.

--

==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WEBMASTER Resources(tm)

FrontPage Resources, Forums, WebCircle,
MS KB Quick Links, etc.
==============================================
 
I understand the use of tables from my experience using
Word, but I can't figure it out with what I'm trying to
do. I want the appearance of the current day and date on
top of a colored block/banner I have at the top of my
site. It seems to me that I should be able to create the
placement of the HTML code and then move the icon by
dragging it on top of my color block, but I can't figure
that out. A table seems overkill for this one task. Any
suggestions?
 
You can use Absolute Positioning (CSS), however this is not well supported
in all browsers and versions.

Do you have a URL of this page available for viewing on the internet?

--

==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WEBMASTER Resources(tm)

FrontPage Resources, Forums, WebCircle,
MS KB Quick Links, etc.
==============================================
 
No matter what HTML editor you use, you only have two options to do what you
want, you either learn and use Absolute Positioning (CSS) or you learn and
use tables to structure your page layout. FrontPage will allow you to use
either of these methods. Personally I prefer to avoid using CSS for page
layouts, and instead use tables.

If you want the overall page background to be white, you will need to set
the page background color specifically under page properties or via CSS.

However you do seem to be off to good start with the look of your site, so
good luck.

--

==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WEBMASTER Resources(tm)

FrontPage Resources, Forums, WebCircle,
MS KB Quick Links, etc.
==============================================
 
Back
Top