View Full Version : Web Desingers Please read
lance-tek
08-17-03, 05:07 PM
I am trying to re-desing my site in Dreamweaver to allow me to have more interactive stuff on my pages. I have come across a peticular occuance that i am not sure how to get around.
What I have is my logo on the page on the left portion of the table and I have put in a center logo as well ( sg image ). When I view the page at a minimized size I do not see the SG log at all. When I maximize the screen it appears.
What I am trying to do is to actually resize the images based on the size of the window. So, at max size you see the same as at restored size (middle of max and min). Can someone tell me how to accomplish this?
Oh yeah, Please don't move this thread. Not many people frequent the other forums.
-lance
lance-tek
08-17-03, 05:14 PM
I have loaded images to www.lance-tek.com/heeeelp.htm
Please tell me what I need to do I am new at dreamweaver, I am a product of microsoft when it comes to web design
If you are using tables then teh table cells will expand to the table width as the window is resized, thus the cell content will 'move'.
If you want the two images to appear at exact same locations no matter the window size then use css absolute positioning.
lance-tek
08-17-03, 05:27 PM
cool cool, ummm Tony, how do I accomplish this?
downhill
08-17-03, 05:30 PM
lance....
I'm not trying to offend you but if we don't move them...or if threads are all in the same forum..it gets chaotic..
And believe it or not..the programming forum does get visited by some very talented people...
Such as TonyT..
Call this "main.css" or whatever.
#image
{
position: absolute;
left: 10%; (or px, or em)
top: 10px;
}
Your page:
<html>
<head>
<link rel="stylesheet" href="main.css">
<title>Blah</title>
</head>
<body>
<div id="image"><img src="blahblah.xxx" alt="blah" /></div>
</body>
</html>
http://w3schools.com/ to learn more.
lance-tek
08-17-03, 05:37 PM
Originally posted by downhill
lance....
I'm not trying to offend you but if we don't move them...or if threads are all in the same forum..it gets chaotic..
And believe it or not..the programming forum does get visited by some very talented people...
Such as TonyT..
can you leave a "Moved:" tag for me please?
Thanks DH
-lance
downhill
08-17-03, 05:40 PM
Originally posted by lance-tek
can you leave a "Moved:" tag for me please?
Thanks DH
-lance
I did...;)
lance-tek
08-17-03, 05:40 PM
DH,
It wasn't that I meant it doesn't get visited. It is just that today is Sunday and there are not as many people on SG on Sundays as on a weekday. I stated it incorrectly, but it is harder to find the *right person on weekends, where on weekdays it is much easier.
Thanks for leaving the little "moved:" tag on the Gen forum
-lance
lance-tek
08-17-03, 05:45 PM
Hey Paft,
thanks for the help, I am not so good at web design so I am a little confused.
I tried to follow the link so, that I could read up but, the link is a dead link. I just get a "cannot find server"
*edit: I had to add the "www." seems the DNS needed that portion to get there.
I am gonna read up now.
-lance
ub3r_n00b
08-17-03, 06:05 PM
Originally posted by Paft
Call this "main.css" or whatever.
#image
{
position: absolute;
left: 10%; (or px, or em)
top: 10px;
}
Your page:
<html>
<head>
<link rel="stylesheet" href="main.css">
<title>Blah</title>
</head>
<body>
<div id="image"><img src="blahblah.xxx" alt="blah" /></div>
</body>
</html>
http://w3schools.com/ to learn more.
Dude, you didnt declare XHTML so the image wont show most likely...
Lance if you need any HTML help just send me a PM / email
preetjassi@shaw.ca
-Preet
lance-tek
08-17-03, 06:12 PM
sure I can use help, I am a novice.
-lance
Originally posted by ub3r_n00b
Dude, you didnt declare XHTML so the image wont show most likely...
Lance if you need any HTML help just send me a PM / email
preetjassi@shaw.ca
-Preet
It doesn't matter if you don't have the doctype declaration for the images to display with web-browsers. Granted it's good form and I do it as a matter of principal, but you do not *need* it.
lance-tek
08-17-03, 07:00 PM
here is another idea...........
is there a way to change the size of the graphic/flash based on the amount of screensize? Can i set it to a percentage or does the image have to maintain a numeric value in regards to size?
-lance
If all you are concerned with is the top of page images, then best to just use Inline CSS:
<DIV style="position:absolute; top:0px; left:0px; width:400px; height:50px;"><IMG SRC="image.gif" NAME="logo" WIDTH=400 HEIGHT=50 BORDER=0 ALT=blah_blah></DIV>
You can set the width & height to % too.
lance-tek
08-17-03, 09:53 PM
thanks for the help guys, I will be back tomorrow after work to do some more damage. SG people KICK ASS!!
-lance
lance-tek
08-21-03, 03:59 PM
I am still working off of the same principles as before but now my question is since I have created all of the different forms. How do I call them all up together. I have 3 forms A, B, and C. A is the header, B the Main Body, and C is the links.
How do I pull them all together in Dreamweaver to make one Complete web page?
Thanks for all the help
-lance
ub3r_n00b
08-21-03, 05:14 PM
Dude you mean frames????
-Preet
lance-tek
08-21-03, 05:21 PM
ahhh I finally figured it out, after much searching and a little bit of a headache, I finally got it. http://www.lance-tek.com/trial.htm
Now I gotta start doing the set up
lance-tek
08-21-03, 05:26 PM
now my problem lies in getting the links frame to update the main frame. Instead of updating the links frame.
How do I do that?
-lance
ub3r_n00b
08-21-03, 06:38 PM
a href="whatever.html" target="mainframeID"
-Preet
lance-tek
08-21-03, 07:09 PM
sorry, I forgot to post that I found how to do it. Thanks for the reply though, I really do appreciate the help.
-lance
ub3r_n00b
08-21-03, 07:25 PM
man i emailed you with all of this like....
a month ago.. you dont reply LOL
bastage :P
-Preet
lance-tek
08-21-03, 08:01 PM
you emailed me stating that you would be able to help me further if I needed it. Well, now I need further help :D
What are you trying to get at? You only want to modify one frame?
The way frames work is you have say, 3 frames, each are labeled.
Now when you click a link on frame A, to get it to display a website in frame B, you go <a href=”whatever.html” target=”frameB”>text</a>
The easiest layout for a frame website (although I don’t like frames much)
Is have a frame with all of your Links (a nav frame)
A banner frame
And a frame with all of your content below your banner frame.
If you give me some more details I can help you out more..
-Preet
I did not understand it based off of just that, I do now but today is the first I have messed with frames. I do appreciate the help though. And as you can see in this link I have done just as you suggested. www.lance-tek.com/trial.htm
New Question, Is there a way to create a link that will open 2 items at once. I would like to open a form and also open a guide to the form at the same time. I want the guide to open in a small window that is approximately 300px X 300px and is scrollable but not resizeable. However it is closeable if the user so chooses.
Like I said though, I want for it to be based off of only 1 link for both items to open. Please help.
-lance
ub3r_n00b
08-21-03, 08:21 PM
yeah easily
a href="whatever.html" target="whatever" onclick="window.open('newhtmlfile.html','nameofwindow','width=300,height=300,scrollbars');"
What this does is create a Pop up, i think that is what you mean... is it?
-Preet
lance-tek
08-21-03, 08:23 PM
that's exactly what I mean. Thanks a million man!!!!
-lance
ub3r_n00b
08-21-03, 08:38 PM
bump for the edit... otheriwse it wont quiet work
-Preet
lance-tek
08-21-03, 08:44 PM
OK I seem to have a snag here,
This is the syntax I have:
<p><font size="2" face="Georgia, Times New Roman, Times, serif"><em><strong><a
href="Requests/Request%20Form.doc" target="_blank"
onclick="window.open("Requests/Request_Guide.htm","Request%20Guide","width=300 height=300");">Programming
Requests</a></a></strong></em></font></p>
I don't seem to be getting the pop up.......... Can you offer a little more help?
Thanks a million
-lance
ub3r_n00b
08-22-03, 12:28 AM
no %20's
<p><font size="2" face="Georgia, Times New Roman, Times, serif"><b>
<a href="requests/request_form.doc" target="_blank" onClick="window.open('Requests/Request_Guide.htm','Request_guide','width=200, height=300, scrollbars');">Programming Requests</a></b></font></p>
That should do, man you got some really nasty coding LOL
-Preet
vBulletin® v3.8.4, Copyright ©2000-2010, Jelsoft Enterprises Ltd.