HighDots Forums  

Re: Positioning of Divs

Macromedia Dreamweaver Macromedia Dreamweaver Discussions (macromedia.dreamweaver)


Discuss Re: Positioning of Divs in the Macromedia Dreamweaver forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
beautiful artist
 
Posts: n/a

Default Re: Positioning of Divs - 08-02-2008 , 06:53 PM






Dear Malcolm,
Here it is at http://www.indianaeagleforum.org/contact_join.html It sure
looks a lot better in the preview than when posted. In preview the background
is white and the footer is at the bottom. I finally used tables since the
picture was shifting to different locations. If you do not laugh, suggestions
are welcome. Thanks for your help.
Diana Hunter
PS On other pages I cannot adjust the width of the table to the viewable area.
I do not understand that.


Reply With Quote
  #2  
Old   
Mark A. Boyd
 
Posts: n/a

Default Re: Positioning of Divs - 08-02-2008 , 07:41 PM






beautiful artist posted in macromedia.dreamweaver:

Quote:
Dear Malcolm,
Here it is at http://www.indianaeagleforum.org/contact_join.html It
sure
looks a lot better in the preview than when posted. In preview the
background is white and the footer is at the bottom. I finally used
You'll need to upload, or fix the links to these missing files:

----------------------------------------------------------
GET /twoColFixLtHdr.css HTTP/1.1
HTTP/1.x 404 Not Found
----------------------------------------------------------
GET /SpryAssets/SpryMenuBar.js HTTP/1.1
HTTP/1.x 404 Not Found
----------------------------------------------------------
GET /SpryAssets/SpryMenuBarHorizontal.css HTTP/1.1
HTTP/1.x 404 Not Found
----------------------------------------------------------
GET /SpryAssets/SpryMenuBarVertical.css HTTP/1.1
HTTP/1.x 404 Not Found
----------------------------------------------------------
GET /twoColFixLtHdrSidebar2.css HTTP/1.1
HTTP/1.x 404 Not Found
----------------------------------------------------------
GET /images/logoeagleunderline.jpg HTTP/1.1
HTTP/1.x 404 Not Found
----------------------------------------------------------

And in the embedded CSS, you have the body's background-color declared twice:

<!--
body,td,th {
color: #000066;
font-size: medium;
background-color: #FFFFFF;
}
body {
background-color: #1e4464;
background-image: url();
background-repeat: repeat;
margin-left: 250
px;
margin-right: 250px;
}

You'll also want to move that stray px; from its own line to the end of the
previous line.

margin-left: 250px;



--
Mark A. Boyd
Keep-On-Learnin'


Reply With Quote
  #3  
Old   
beautiful artist
 
Posts: n/a

Default Re: Positioning of Divs - 08-04-2008 , 09:40 AM



Dear Mark,
Thanks for your help. Looking at
http://www.indianaeagleforum.org/contact_join.html I corrected the color of
the background. I would prefer to keep it white in the web site and blue
beyond the web site. That worked part of the time. However, I cannot get the
spry menu widgets to upload. (Until I can get this site to look better I am
uploading to the domain name where I have a FrontPage web site located.
However, this is a separate page and should not relate to FrontPage. Thinking
it might be an index problem I uploaded a new index page at
http://www.indianaeagleforum.org/index.html ) Here are my error codes:
...\SpryAssets\SpryMenuBar.js - error occurred - An FTP error occurred - cannot
put SpryMenuBar.js. Access denied. The file may not exist, or there could be
a permission problem. Make sure you have proper authorization on the server
and the server is properly configured.
..\SpryAssets\SpryMenuBarHorizontal.css - error occurred - An FTP error
occurred - cannot put SpryMenuBarHorizontal.css. Access denied. The file may
not exist, or there could be a permission problem. Make sure you have proper
authorization on the server and the server is properly configured.
..\SpryAssets\SpryMenuBarVertical.css - error occurred - An FTP error occurred
- cannot put SpryMenuBarVertical.css. Access denied. The file may not exist,
or there could be a permission problem. Make sure you have proper
authorization on the server and the server is properly configured.

How do I properly configure in order to upload the spy menus? Thanks.
Diana Hunter


Reply With Quote
  #4  
Old   
beautiful artist
 
Posts: n/a

Default Re: Positioning of Divs - 08-04-2008 , 10:39 AM



Well, I just updated Spry and then uploaded the folder. Solved one problem but
have many more to go. Comments are appreciated. See
http://www.indianaeagleforum.org/contact_join.html Thanks.
Diana Hunter


Reply With Quote
  #5  
Old   
Mark A. Boyd
 
Posts: n/a

Default Re: Positioning of Divs - 08-04-2008 , 05:55 PM



beautiful artist posted in macromedia.dreamweaver:

Quote:
Well, I just updated Spry and then uploaded the folder. Solved one
problem but have many more to go. Comments are appreciated. See
http://www.indianaeagleforum.org/contact_join.html Thanks.
Diana Hunter
Still missing one of the css files, /twoColFixLtHdrSidebar2.css

I will, however, recommend you veer completely away from AP divs in this
case. Such advice appears daily from the regulars in this newsgroup - for
good reason. I know I gave it a shot some years ago (when DW called them
Layers) and found that they are more trouble than they're worth.

I notice that you're still declaring body background-color twice in the
embedded CSS. And that it also appears in twoColFixLtHdr.css. Is there one in
/twoColFixLtHdrSidebar2.css as well?

Best to learn and understand some HTML and CSS. I'm sorry that I don't have
any links bookmarked on this computer, but you can search the forum for
layers or ap divs and see 10s or 100s of posts recommending against them -
with links.




--
Mark A. Boyd
Keep-On-Learnin'


Reply With Quote
  #6  
Old   
beautiful artist
 
Posts: n/a

Default Re: Positioning of Divs - 08-05-2008 , 01:24 PM



Dear Mark,
Thanks for the tips. I am getting rid of the AP divs and replacing with
tables since otherwise everything flies here and there. When I took classes
they recommended not using tables but almost the first thing they taught us was
to use tables. Much later they showed how to use AP divs. I started searching
and found you were correct. AP divs generally cause more problems than they
solve at least for us newbies. So take a look at
www.indianaeagleforum.org/contact_join.html I am sorry. I really do not
understand what I am to do about all of the styles. Do I put the internal
styles on to an external style sheet? Can I combine them? Do I just delete
properties of background color or do I delete some of the styles? Is each
section supposed to have its own style?

Then how do I change the background color in a cell of a table?
Also, I continue to have problems with the spry menu uploading.
Here is the repeated error:

..\SpryAssets\SpryMenuBar.js - error occurred - An FTP error occurred - cannot
put SpryMenuBar.js. Access denied. The file may not exist, or there could be
a permission problem. Make sure you have proper authorization on the server
and the server is properly configured.
..\SpryAssets\SpryMenuBarHorizontal.css - error occurred - An FTP error
occurred - cannot put SpryMenuBarHorizontal.css. Access denied. The file may
not exist, or there could be a permission problem. Make sure you have proper
authorization on the server and the server is properly configured.
..\SpryAssets\SpryMenuBarVertical.css - error occurred - An FTP error occurred
- cannot put SpryMenuBarVertical.css. Access denied. The file may not exist,
or there could be a permission problem. Make sure you have proper
authorization on the server and the server is properly configured.

Therefore the color does not come through.

You asked about .twoColFixLtHdrSidebar2.css It is on another page of the web
site so I do not know about how to upload it yet. I wanted to copy all of the
traits of sidebar1 to make sidebar 2 and then change the width of it, but lets
say that did not work out and so I went to tables. Therefore it may not apply
to anything at present. I am using Dreamweaver CS3 The Missing Manual which is
good but also quite lengthy on each topic.
Thanks for your help.
Diana Hunter


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.