Jump to content

html and php (divs)


Porkie

Recommended Posts

hey im very confused and was wondering if someone could give me a pointer in helping me to,

 

<form method="post" enctype="multipart/form-data">
<br />

Email:                      <input type="email" name="email" value="<?php echo $stuff['email']; ?>"  /><br /><br />
Membership Type:     <select name="type">
<option value="Music Enthusiast">Music Enthusiast</option>
    <option value="Band Member"<?php if ($stuff['type'] == 'Band Member') { echo ' Selected="selected"'; } ?>>Band Member</option>
</select><br /><br />
<input type="submit" name="updatedetails" value="Update" />
</form>

 

to work with my div code,

 

echo '<div id="rightcol">';

 

 

also how come a make my column be just 50px from the top of the page?

 

Any help is greatly appreciated :D

 

Cheers

 

Link to comment
https://forums.phpfreaks.com/topic/173123-html-and-php-divs/
Share on other sites

You can work with your div inside <head>, like this:

 

<head>

<style="text/css">

#div3{

position:absolute;

left:15px;

top:19px;

width:23px;

height:32px;

 

}

<style>

</head>

<body><?php echo "<div id=div3></div>";?></body>

 

 

hope this is what you're lookin for

 

 

 

Link to comment
https://forums.phpfreaks.com/topic/173123-html-and-php-divs/#findComment-912494
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.