BMW M5 Forum

Post Reply
 
Thread Tools Search this Thread
      11-08-2011, 11:52 AM   #1
clean3
I just had sex.
53
Rep
559
Posts

Drives: e90 328i
Join Date: Oct 2010
Location: GA

iTrader: (1)

calling all computer smart people

i have to write a webpage for my computer science class and I need some help bc it has to be good so i can get the extra credit for an A. and one issue at the moment is idk how to keep all the text on one side of the page. not right/left align, but so it only comes to half the page.

any help? and stay tuned for future help? thanks!
__________________

Space Grey E90 328i / Gunmetal VMR v701s / matte black grills / CF wrapped interior /
Appreciate 0
      11-08-2011, 12:00 PM   #2
n e x u s
Introducing to BMW
Canada
11
Rep
193
Posts

Drives: xXx
Join Date: Nov 2010
Location: Laval

iTrader: (0)

Use Komposer (http://kompozer.net/) as Word editor for your web page files and you will be fine.
Appreciate 0
      11-08-2011, 12:24 PM   #3
clean3
I just had sex.
53
Rep
559
Posts

Drives: e90 328i
Join Date: Oct 2010
Location: GA

iTrader: (1)

Quote:
Originally Posted by n e x u s View Post
Use Komposer (http://kompozer.net/) as Word editor for your web page files and you will be fine.
we can't use anything, we have to hand code the whole thing.
__________________

Space Grey E90 328i / Gunmetal VMR v701s / matte black grills / CF wrapped interior /
Appreciate 0
      11-08-2011, 12:30 PM   #4
MacR6
Second Lieutenant
United_States
11
Rep
219
Posts

Drives: 07 335i
Join Date: Nov 2010
Location: VA

iTrader: (0)

http://www.w3schools.com/html/default.asp is a great place to learn some things. What you need is a table to keep the text on one side. Kinda like a newspaper column.
Appreciate 0
      11-08-2011, 12:47 PM   #5
clean3
I just had sex.
53
Rep
559
Posts

Drives: e90 328i
Join Date: Oct 2010
Location: GA

iTrader: (1)

Quote:
Originally Posted by MacR6 View Post
http://www.w3schools.com/html/default.asp is a great place to learn some things. What you need is a table to keep the text on one side. Kinda like a newspaper column.
yeah. exaclty and thanks for the help. sorry i didnt specify... but i need the text on the left beside a pic ill have on the right... then under where the pic ends i want it to open back up... so would i just enclose enough text in a table to be by the picture then close off my table or will i need to insert different paragraph or line break tags too?
__________________

Space Grey E90 328i / Gunmetal VMR v701s / matte black grills / CF wrapped interior /
Appreciate 0
      11-08-2011, 01:01 PM   #6
apc3libras
Lieutenant Colonel
apc3libras's Avatar
United_States
36
Rep
1,691
Posts

Drives: E36 M3
Join Date: Nov 2010
Location: UTAH

iTrader: (3)

Garage List
1999 BMW M3  [4.00]
Do you want the text to wrap around the image?
__________________
2007 BMW 328I Monaco Blue /// 1999 BMW M3 Titanium Silver /// 2007 BMW 328I Sparkling Graphite (sold)
Appreciate 0
      11-08-2011, 01:11 PM   #7
kyleb350
Brigadier General
kyleb350's Avatar
United_States
428
Rep
4,709
Posts

Drives: '21 X3MC
Join Date: Jun 2008
Location: Milwaukee

iTrader: (6)

Use a table with two cells. Put all your text on the left, and whatever else you want in the right cell.
Appreciate 0
      11-08-2011, 01:15 PM   #8
clean3
I just had sex.
53
Rep
559
Posts

Drives: e90 328i
Join Date: Oct 2010
Location: GA

iTrader: (1)

okay i have a table with my text split to the left.... another thing, i know how to set background and text color for tables... but for my whole page do i just put my style tags right after the html tags? cause im trying to have my whole background one color, then manipulate my tables to have different background colors and texts
__________________

Space Grey E90 328i / Gunmetal VMR v701s / matte black grills / CF wrapped interior /
Appreciate 0
      11-08-2011, 01:20 PM   #9
kyleb350
Brigadier General
kyleb350's Avatar
United_States
428
Rep
4,709
Posts

Drives: '21 X3MC
Join Date: Jun 2008
Location: Milwaukee

iTrader: (6)

Inside the table for each cell (the <td> tag), use the bgcolor attribute. Or you can set the background color at the row or table level as well.
Appreciate 0
      11-08-2011, 01:34 PM   #10
lucius
Second Lieutenant
212
Rep
288
Posts

Drives: E90
Join Date: Sep 2011
Location: Mass

iTrader: (0)

barf @ using tables.
use divs, you'll have far more control.
Appreciate 0
      11-08-2011, 01:40 PM   #11
cole92
Second Lieutenant
cole92's Avatar
5
Rep
270
Posts

Drives: too much
Join Date: Sep 2011
Location: SoFlo / Tri-state / Mid-Atlantic

iTrader: (0)

Quote:
Originally Posted by nubian View Post
barf @ using tables.
use divs, you'll have far more control.


You can also use css to align make the sections, header, footer, left, right, paging, etc.

Code:
<div id="Layout">
  <!-- BEGIN HEADER -->
  <div id="Top">
    <div id="Nav">
      <div class="NavBody">
        <div align="center">
          <ul>
            <li><a href="index.html">Home</a></li>
            <li><a href="1.html">1</a></li>
            <li><a href="2.html">2</a></li>
            <li><a href="3.html">3</a></li>
            <li><a href="4.html">4</a></li>
            <li><a href="5.html">5</a></li>
          </ul>
        </div>
      </div>
    </div>
  </div>
That would be a for a top menu, but you can use it for aligned anywhere.
Appreciate 0
      11-08-2011, 01:41 PM   #12
clean3
I just had sex.
53
Rep
559
Posts

Drives: e90 328i
Join Date: Oct 2010
Location: GA

iTrader: (1)

using both.. can someone help me put a jpeg image in... like an example of the code. I want it to float to the right but idk how to get it in
__________________

Space Grey E90 328i / Gunmetal VMR v701s / matte black grills / CF wrapped interior /
Appreciate 0
      11-08-2011, 02:17 PM   #13
lucius
Second Lieutenant
212
Rep
288
Posts

Drives: E90
Join Date: Sep 2011
Location: Mass

iTrader: (0)

you want something like this ?

Appreciate 0
      11-08-2011, 02:18 PM   #14
clean3
I just had sex.
53
Rep
559
Posts

Drives: e90 328i
Join Date: Oct 2010
Location: GA

iTrader: (1)

^YES
__________________

Space Grey E90 328i / Gunmetal VMR v701s / matte black grills / CF wrapped interior /
Appreciate 0
      11-08-2011, 02:38 PM   #15
DaveL
Banned
14
Rep
970
Posts

Drives: 2010 335 coupe msport
Join Date: May 2010
Location: Darien CT.

iTrader: (0)

Why ask here??LOL
Appreciate 0
      11-08-2011, 02:47 PM   #16
clean3
I just had sex.
53
Rep
559
Posts

Drives: e90 328i
Join Date: Oct 2010
Location: GA

iTrader: (1)

Quote:
Originally Posted by DaveL View Post
Why ask here??LOL
figured there is some pretty computer savvy people on here
__________________

Space Grey E90 328i / Gunmetal VMR v701s / matte black grills / CF wrapped interior /
Appreciate 0
      11-08-2011, 03:31 PM   #17
slowSwede
Lieutenant
Sweden
22
Rep
549
Posts

Drives: 335 coupe
Join Date: Jan 2010
Location: Skåne

iTrader: (0)

http://css.maxdesign.com.au/floatutorial/
http://webdesign.about.com/od/advanc...a/aa010107.htm
Appreciate 0
      11-08-2011, 03:31 PM   #18
bamboobuild
Private First Class
17
Rep
195
Posts

Drives: 335i
Join Date: Feb 2011
Location: Midwest

iTrader: (0)

check your inbox, fixed most of your code.
Appreciate 0
      11-08-2011, 03:43 PM   #19
clean3
I just had sex.
53
Rep
559
Posts

Drives: e90 328i
Join Date: Oct 2010
Location: GA

iTrader: (1)

Quote:
Originally Posted by bamboobuild View Post
check your inbox, fixed most of your code.
thanks a lot man! helped out a bunch. i mixed some of your code with mine and have it how i want. thanks again
__________________

Space Grey E90 328i / Gunmetal VMR v701s / matte black grills / CF wrapped interior /
Appreciate 0
      11-08-2011, 03:48 PM   #20
bamboobuild
Private First Class
17
Rep
195
Posts

Drives: 335i
Join Date: Feb 2011
Location: Midwest

iTrader: (0)

Glad you could use it :-)
Appreciate 0
      11-08-2011, 06:59 PM   #21
Kuch335
2007 335i E92
Kuch335's Avatar
45
Rep
624
Posts

Drives: 2007 E92 TiAg, 2011 X3 35i
Join Date: Mar 2011
Location: OH

iTrader: (4)

Quote:
Originally Posted by ihasrecon View Post
we can't use anything, we have to hand code the whole thing.
you just used us

and how the &#*$ is anyone going to know if you used software? html is html.. the tools just write it for you.. so annoying to me when schools try to make you do things 'by hand' when they know damn well it's never done that way.. reminds me of accounting class in college hand writing shit on ledger books and doing everything the hard way when at the time, quickbooks already existed.. IMO, only place that still applies is pilot school, incase the auto pilot or GPS goes out

stick to CSS & HTML5 though.. tables are out..
__________________
2007 335i E92 AT - MHD E85 Flash, xHP Stage 3 , MR5 Intake, VRSF DPs, VRSF 7in FMIC, ER CP, Fuel-It Stage 1, RB PCV, UUC Corsa Exhaust, BL R8 Coils, Sachs SRE Coilovers, M3 Control Arms, H&R Sway, BA Diff Lock, MDF Scoops, Tint, CF Hood, Mini Battery :: 2011 X3 xDrive 35i - MHD Stage 1, Alum Charge Pipe
Appreciate 0
      11-08-2011, 07:05 PM   #22
clean3
I just had sex.
53
Rep
559
Posts

Drives: e90 328i
Join Date: Oct 2010
Location: GA

iTrader: (1)

Quote:
Originally Posted by kuch123 View Post
you just used us

and how the &#*$ is anyone going to know if you used software? html is html.. the tools just write it for you.. so annoying to me when schools try to make you do things 'by hand' when they know damn well it's never done that way.. reminds me of accounting class in college hand writing shit on ledger books and doing everything the hard way when at the time, quickbooks already existed.. IMO, only place that still applies is pilot school, incase the auto pilot or GPS goes out

stick to CSS & HTML5 though.. tables are out..
yeah but i dont feel like im cheating bc im not using a program haha, just other intelligent people.
__________________

Space Grey E90 328i / Gunmetal VMR v701s / matte black grills / CF wrapped interior /
Appreciate 0
Post Reply

Bookmarks


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

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



All times are GMT -5. The time now is 03:52 AM.




m5:
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
1Addicts.com, BIMMERPOST.com, E90Post.com, F30Post.com, M3Post.com, ZPost.com, 5Post.com, 6Post.com, 7Post.com, XBimmers.com logo and trademark are properties of BIMMERPOST