Css layout problems - css and tables

Hi guys,
Well as some of you suggested months ago, I've been trying to
learn to layout with CSS... It's actually getting a bit rewarding
now as I start to figure a few things out but there's still plenty
of questions!!!
If anyone can take a look at what I'm working on at the
moment and give me some help I'd REALLY REALLY appreciate it!!
My main trouble (I think) is working with a drop-down menu
system that I found on the web and I'm dying to use it because it's
perfect for this design. It's layed out using a table so I'm trying
to incorporate that...
Click
[url=http://home.iprimus.com.au/jediwdog/ltc/mockup2.jpg]here[/url]
for a picture of what i'm trying to get this page to look like and
[url=http://home.iprimus.com.au/jediwdog/ltc/example1.html]here[/url]
to see how far I've got. You can download the stylesheet from
[url=http://home.iprimus.com.au/jediwdog/ltc/example1.css]here[/url].
Here's what I need to know:
1. I'm trying to push the table down so it looks better lined
up with the logo but when I tell it to be further from the top, it
doesn't seem to move. Any ideas on why?
2. As you can see, I've inserted some blank space into the
middle of the menu so that the logo doesn't cover any of the menu
items. I can't seem to get the same 1px black border on this
section.
I assume this is because the border on the other parts is a
layer/div border? Will I have to somehow put a div in there so as
to create the same border effect?
3. I'd really like to keep the header and footer visible at
all times, even if there's lots of content to scroll through. I
found this:
http://www.cssplay.co.uk/layouts/basics2.html#Top
but when I tried to implement this on my page, it all went haywire!
Is this going to be a possibility?
4. I guess other than that, have I completely stuffed this
up!? I don't think I have but it's worth asking I guess!
THANKS IN ADVANCE! I'm really loving using css layout rather
than tables - it's soooo much more versatile. I just need to get
past some obstacles I think!
Cheers
Neil

On Wed, 24 Jan 2007 22:17:20 +0000 (UTC), "Barb S."
<[email protected]> wrote:
>Ok, I made your suggested changes and have this:
>
> body {
> font-family: Georgia, "Times New Roman", Times, serif;
> text-align: center;
> font-size: 1em;
> font-style: normal;
> text-decoration: none;
> top: 15px;
> background-image:
url(/images/backgrounds/background1.gif);
> padding-top: 15px;
>>>> width: 70%;
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
> }
>
> #body {
> margin: 0 auto;
> text-align:left;
> width: 760px;
> padding-right: 20px;
> padding-bottom: 20px;
> padding-left: 20px;
> background-color: #FFFFCC;
> padding-top: 20px;
> font-family: Georgia, "Times New Roman", Times, serif;
> font-size: 1em;
> color: #003366;
>
> }
>
>
http://www.japanesetemari.com
>
> The page is on the left size of the screen and the
yellow box does not expand
>out. Not exactly what I'd wanted. I like to take
advantage of larger screens
>and have the page expand out but not so far out so the
lines of text are real
>long.
> Barb
It's this in the body style that is limiting the width -
change that
to 100%
>>>> width: 70%;
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
> }
~Malcolm N....
~

Similar Messages

  • CSS and Tables

    Hi all,
    Is CSS a better choice than using tables as mentioned in a
    lot of sites? If it does, how does one create webpages using CSS
    method. I am new to dreamweaver and have created webpages using
    tables without any CSS. Please advise.

    > Is CSS a better choice than using tables as mentioned in
    a lot of sites?
    It depends entirely on a) your skill level, and b) your needs
    on the page.
    In general, CSS is a better choice as a general layout method
    since all of
    your 'presentation' is moved from the page into an external
    CSS stylesheet
    which can be cached and not re-fetched for each linked page.
    In addition,
    with CSS layouts, your content is usually continuous within a
    given
    container, whereas with tables your content is often
    scattered through
    various contiguous and perhaps non-contiguous table cells,
    leading to
    confusing or even non-explicable results when the pages are
    read with a
    screen reader.
    > how does one create webpages using CSS method
    1. Study CSS
    2. Read this -
    http://apptools.com/examples/pagelayout101.php
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "KUPO12345" <[email protected]> wrote in
    message
    news:gi5dqk$9ou$[email protected]..
    > Hi all,
    >
    > Is CSS a better choice than using tables as mentioned in
    a lot of sites?
    > If it
    > does, how does one create webpages using CSS method. I
    am new to
    > dreamweaver
    > and have created webpages using tables without any CSS.
    Please advise.
    >

  • Creating new Layout problem with merged table within std_resources.htm

    Dear All,
    i am relatively new to oracle ucm and i am trying to add new comonent to create new layout from oracle Create and Modify Layout Sample Component* example under http://www.oracle.com/technetwork/middleware/content-management/index-092832.html .
    i want to ask about the following
    in this component i have CreateLayout_Layouts Table, CreateLayout_PublishedWeblayoutFiles Table and CreateLayout_PublishedStaticFiles Table. These tables should be merged with LmLayouts table, PublishedWeblayoutFiles table and PublishedStaticFiles table respectively in the std_resources.htm file in the <install_dir>/shared/config/resources directory.
    The problem is in my std_resources.htm file i have the following :
    <tr>
         <td>LmLayouts</td><td>LmLayouts</td><td>LmLayouts</td><td>id</td><td>label</td>
         <td></td><td>7.3</td><td>1</td>     
    </tr>
    how can i add (merge) the CreateLayout_Layouts Table in LmLayouts table? what is should fill the <td>s ?
    for PublishedWeblayoutFiles table and PublishedStaticFiles table they are not exist in my std_resources.htm file. are there names changed? or shall i add them(if yes, what is the <td>s had inside).
    note: i will be greatfull if someone have the std_resources.htm that have the above tables merged with the specified ones.

    I believe that sample is old. i have been pushing to get an updated version out also. Hopefully the fragmentary information I will give here will help.
    The main changes are dynamic data tables which replace the includes to control the menu items and relationships. The old things should work still but good to use the new. At the end is an example of merge rules.
    See 3.5.2 Dynamic Data Tables
    http://docs.oracle.com/cd/E21764_01/doc.1111/e10807/c03_components.htm
    ==============================
    CoreMenuItemRelationships table example
    <?commatable mergeKey="primaryKey" derivedColumns="primaryKey:parentId+id"?>
    parentId,           id,                loadOrder
    MY_CONTENT,      NEW_PAGE,                9000
    ================================
    CoreMenuItems table example
    <?commatable mergeKey="primaryKey" derivedColumns="primaryKey:parentId+id"?>
    id,                label,                linkType,           linkData
    NEW_PAGE,                    wwNewPage,                    cgi,                IdcService=GET_DOC_PAGE&Action=GetTemplatePage&Page=NEW_PAGE
    ============================
    CoreMenuItemsFlags table example
    <?commatable indexedColumns="id"?>
    id, flags
    WORK_IN_PROGRESS, isSubAdmin
    =======================
    CoreMenuItemsImages table example
    <?commatable indexedColumns="id"?>
    id, image, imageOpen
    ACTIVE_WORKFLOWS,      ReviewContent.gif,
    Glue file example: (note I am not willing to upload a zip file of a full component sorry)
    <?hda version="11gR1-dev" jcharset="UTF8" encoding="utf-8"?>
    @Properties LocalData
    ComponentName=NewLayout
    blDateFormat=M/d/yyyy {h:mm[:ss] {aa}[zzz]}!mAM,PM!tAmerica/Chicago
    hasPreferenceData=0
    preventAdditionalComponentDowngrade=0
    serverVersion=7.1
    version=2011_11_13-dev
    @end
    @ResultSet ResourceDefinition
    4
    type
    filename
    tables
    loadOrder
    resource
    resources/newlayout_resource.htm
    null
    10
    template
    templates/newlayout_template.hda
    null
    10
    resource
    resources/newlayout_strings.htm
    null
    10
    @end
    @ResultSet Filters
    4
    type
    location
    parameter
    loadOrder
    @end
    @ResultSet MergeRules
    4
    fromTable
    toTable
    column
    loadOrder
    NewLayout_Layouts
    LmLayouts
    id
    10
    NewLayout_PublishedWeblayoutFiles
    PublishedWeblayoutFiles
    path
    10
    NewLayout_PublishedStaticFiles
    PublishedStaticFiles
    null
    10
    NewLayout_LayoutSkinPairs
    LmLayoutSkinPairs
    null
    10
    NewLayout_Templates
    IntradocTemplates
    name
    10
    @end
    @ResultSet ClassAliases
    3
    classname
    location
    loadOrder
    @end

  • HT4111 Logitech K810 UK layout problem with @ and " being the wrong way round.

    I have tried this keyboard on Windows 7 devices and they work just fine, but on IOS7, either the first version or the version released today, it remains the wrong way around - i.e. US spec.

    Hi,
    I have a problem with the same keyboard when I start up and hold the ALT key you can select a startup disk this is not working by my keyboard when I use a old keyboard I'ts working again do you have that problem also.
    Best regards Garry

  • How can I import diagramms and tables from numbers to pages?

    I'm writing an essay, where I need diagramms and tables in it. I created some cool stuff in numbers and wanted to transfer it to pages. I thought it would be easier, but I don't have a clue how to just import the numbers stuff to my essay in pages. So I tried to copy it, but it looks not that way it looked in numbers. Another problem is: I can't layout the diagramms and tables the way I want (centered) and I need to write a description under it. I tried it with Textbox, but then I just can't group the textbox with the Table.
    Somebody with an idea?
    Thanks for your help!

    To get your data from Numbers into Pages is just a simple matter of copying and pasting. Select the cells you want to place in Pages, copy, and then past into Pages. There are a couple caveats. 1) the table you paste into Pages will be pasted inline. You'll probably want to use the wrap Inspector and change it to floating. 2) if the table is too wide you'll have to get creative about how you arrange the data and 3) Numbers lets you insert check boxes, sliders, steppers, and popup menus and these won't show but the data in the cells will.
    The charts will also copy and paste - again, you'll probably want to use the wrap inspector to switch them to floating objects. Having made the chart object(s) floating objects, you should have no trouble inserting your text box description, arranging them the way you want, and then grouping.
    Just to make sure it worked the way I remembered, I just threw together a quick table and chart in Numbers and then copy/pasted it all into Pages.

  • ANN: Styling backgrounds, borders, and tables - free chapters from CSS book

    Just in time for some holiday reading, Adobe Developer Connection has made available three chapters from my recent book, Getting StartED with CSS:
    Ch 1: What is CSS, and Why Should I Learn It?
    Ch 5: How Do I Add Backgrounds and Borders to Improve the Look of My Page?
    Ch 9: How Do I Style Tables?
    Each chapter is in PDF format, and is FREE! Grab them at http://www.adobe.com/devnet/dreamweaver/articles/bk_getting_started_css.html.
    You can download the exercise files for the chapters from the book's companion website, http://gettingstartedwithcss.com/, which also contains a full reference guide to all visual and print properties in CSS2.1, as well as all CSS2.1 selectors and widely used CSS3 selectors.
    The book itself contains a lot more, and teaches the intricacies of CSS layout in a practical and understandable way, covering the whole of CSS2.1.

    Thank you, Santa!
    Beth

  • CSS Problem Firefox and IE

    Hey Guys
    I have just converted my site layout to CSS and only have 2
    problems.
    Click here for website
    1) In IE there is a border at the bottom of the page and in
    Firefox there isn't even though I've set the page margin and border
    to 0. Then I tried to override the standard padding set by
    Firefox/IE by using * {margin : 0;padding : 0;}. This solved the
    problem but removed all padding from CSS document which i don't
    want.
    2) The subheading 'Photography' needs to be padded down. In
    IE it is but in Firefox it isn't and I can't get it to move.
    Any help would be much appreciated!
    body {
    margin: 0;
    padding: 0;
    border: 0;
    background-color: #CCCCCC;
    .title {
    font-family: Georgia, "Times New Roman", Times, serif;
    font-size: 36px;
    line-height: 40px;
    color: #FF0000;
    .subheading_red {
    font-family: Georgia, "Times New Roman", Times, serif;
    font-size: 20px;
    color: #FF0000;
    .subheading_white {
    font-family: Georgia, "Times New Roman", Times, serif;
    font-size: 20px;
    color: #FFFFFF;
    .main_black {
    font-family: Arial;
    font-size: 12px;
    line-height: 20px;
    color: #333333;
    .main_white {
    font-family: Arial;
    font-size: 12px;
    line-height: 20px;
    color: #FFFFFF;
    .main_red {
    font-family: Arial;
    font-size: 12px;
    line-height: 20px;
    color: #FF0000;
    .form {
    font-family: Arial;
    font-size: 12px;
    color: #333333;
    min-height: 15px;
    .blurb {
    font-family: Arial;
    font-size: 12px;
    line-height: 20px;
    color: #999999;
    .footer_1 {
    font-family: Arial;
    font-size: 12px;
    line-height: 20px;
    color: #FFFFFF;
    font-weight: bold;
    .footer_2 {
    font-family: verdana;
    font-size: 10px;
    line-height: 20px;
    color: #CCCCCC;
    /* Links */
    a:link {
    text-decoration:none;
    a:visited {
    text-decoration: none;
    a:hover {
    text-decoration: underline;
    color: #FF0000;
    a:active {
    text-decoration: none;
    /* Layout - Homepage*/
    #main_image {width:990px; height:211px; margin-left:auto;
    margin-right:auto;}
    #menu {width:970px; height:97px; padding:10px;
    background-color:#000000; margin-left:auto; margin-right:auto;}
    #container {width:990px; margin-left:auto; margin-right:auto;
    background-color:#FFFFFF}
    #module_1 {width:770px; height:430px; float:left;
    background-color:#FFFFFF; padding-top:10px;}
    #title {width:430px; height:40px; padding-left:20px; float:
    left; background-color:#FFFFFF;}
    #upload {width:320px; height:50px; padding-top:5px;
    padding-bottom:5px; float: right; background-color:#FFFFFF;}
    #blurb {width:430px; height:20px; padding-left:20px;
    background-color:#FFFFFF;}
    #description {width:730px; float:left; padding-left:20px;
    padding-right:20px; background-color:#FFFFFF;}
    #module_1a {width:770px; height:240px;
    background-color:#FFFFFF;}
    #module_1b {width:450px; height:250px; float:left;
    padding-top:20px; padding-left:20px; background-color:#FFFFFF;}
    #module_1c {width:300px; height:250px; float:right;
    padding-top:20px; background-color:#FFFFFF;}
    #module_2 {width:220px; height:430px; float:right;
    background-color:#FF0000; padding-top:10px;}
    #module_3 {width:950px; padding-left:20px;
    padding-right:20px; padding-bottom:20px; padding-top:20px;
    background-color:#333333;}
    #footer {width:950px; height:40px; margin-left:auto;
    margin-right:auto; padding-right:20px; padding-left:20px;
    padding-top:10px; padding-bottom:10px; background-color:#333333;}
    #module_4 {width:500px; float:left;}
    #module_5 {width:450px; float:right;}
    #module_6 {width:500px; float:left;}
    #module_7 {width:450px; float:right;}
    /* Menu Buttons */
    .menu_alignment{
    display:block;
    float:left;
    width: 97px;
    height: 97px;
    }

    ForensicBop wrote:
    > Hey Guys
    >
    > I have just converted my site layout to CSS and only
    have 2 problems.
    >
    >
    http://skytemedia.com
    >
    > 1) In IE there is a border at the bottom of the page and
    in Firefox there
    > isn't even though I've set the page margin and border to
    0. Then I tried to
    > override the standard padding set by Firefox/IE by using
    * {margin : 0;padding
    > : 0;}. This solved the problem but removed all padding
    from CSS document which
    > i don't want.
    >
    > 2) The subheading 'Photography' needs to be padded down.
    In IE it is but in
    > Firefox it isn't and I can't get it to move.
    >
    I don't see the border but for the other issue - put both
    "Photography"
    and the "Visit gallery" in the same div and float them left
    and right'
    HTH
    chin chin
    Sinclair

  • Css and RequestDispatcher problem

    I'm using JBoss + embedded Tomcat (not using apache
    yet in development).
    I have problem with JSP and css. My JSP includes css
    with this tag:
    <link rel="stylesheet" href="style.css" type="text/css">If I access the JSP directly from web-browser IE5
    to http://127.0.0.1:8080/myContext/fileName.jsp ,
    it's displayed correctly.
    However, if I let a servlet dispatch the JSP, the css didn't
    included somehow (browser displayed the JSP without css-formatting).
    RequestDispatcher dispatcher = getServletContext().
                             getRequestDispatcher("/fileName.jsp");
        if (dispatcher != null)
            dispatcher.forward(request, response);
        /* ... */I put css and JSP in the same subdir. Is this a Tomcat error, or
    I forgot to set something in the request object, or
    I need to append something to "/fileName.jsp"?
    Thanks in advance.
    Verdi

    Unfortunately, the solution I found was to "hardcode" the absolute path. For example:<link rel="stylesheet" href="<%= request.getContextPath() %>/style.css" type="text/css">There're another way I think may preserve the context
    path, that is to use response.sendRedirect. Problem with
    this approach is however, you can't embedd javabean
    as "attribute" cause attribute will be removed in the new request (of redirected jsp).
    -- Verdi March --

  • CSS and Images Export problem

    Hello,
    I've created a very basic layout with a header, some columns of text and an image. Everything is aligned perfectly, I've put all the text into rectangles, created a slice for the image, and nothing is overlapping. When I use the Export CSS and Images option, it just exports everything as one big image. What am I doing wrong here?
    Thanks,
    Jason

    Sure, here you go:
    http://www.glowfoto.com/static_image/07-130236L/8862/png/04/2010/img6/glowfoto

  • CSS and Images export problems

    I am trying to export a page to dreamweaver using css and images method. I have created rectangles for the header, content and footer to create divs. Added text and graphics. When I export, it does not export with html codes and css, it gives me one big .jpg. "Layer_1.jpg".  Does anyone know what I'm doing wrong?
    Thanks,
    Wendy
    Message was edited by: wen8   I just found someone else with the exact same problem who said rebooting solved his problem. This also worked for me. Yeah!

    Problem fixed by rebooting!

  • CSS and image export problems

    Hi
    Is the CSS and image export supposed to output anything
    legible. Right now, it produces garbage that looks nothing like my
    project. Images are distorted. Nothing lines up correctly. Has
    anyone else had similar problems?
    Why does the feature only support creating a single page? Is
    there any way to get it to export all pages?
    Why does the feature ignore behaviors? The HTML and image
    export supports behaviors so why can't the CSS and image export? Is
    there any way to get it to support behaviors?
    Thanks

    Problem fixed by rebooting!

  • CSS Layout Problem?

    Can someone please help me with a layout problem.
    As far as I can tell the page looks as it should in Netscape,
    Firefox, etc., but IE6 and 7 refuse to work correctly.
    The page I am working on is:
    http://www.vmtampademo.com/localangler/testpage.html
    Most of the picture caption and headline of the middle column
    is behind the picture. I attempted to force the info with a
    seperating div which seems to work sometimes. I doubt that this is
    the correct solution. What am I doing wrong?
    Thank you for the help!

    It looks fine in Firefox 2.0.0.1, Opera 9.10, and IE 7.

  • CSS and more - Problem

    Hi people,
    j have found this
    http://www.dhtmlgoodies.com/index.html?whichScript=ajax-tooltip
    but i don't know how I implement this in apex.
    So that i have i general question.
    How can i implement my own css and in which way can i use these?
    is there a how to or something?

    Hello,
    You can maintain your own, external (preferably OS level) CSS file, and load it using your page template, the same way APEX loading its own CSS file.
    If you look at your page template, in the HTML Header section, you'll see something like this:
    <link rel="stylesheet" href="#IMAGE_PREFIX#themes/theme_5/theme_V2.css" type="text/css" />In this case this is the CSS file for theme 5. You can put your own CSS file in the same directory as the rest of your theme file, and use a similar link.
    Take into consideration that because the cascading effect (the first C in CSS) you need to load your file after the original APEX files, so in case you are targeting the same selectors (elements/attributes), yours will get precedent.
    The best place to start learning a bit more about CSS is the following http://www.w3schools.com/css/default.asp
    Hope this helps,
    Arie.

  • Problem in Loading CSS and JS in strus

    Hi,
    I created an employee registration form using JSP. When I load the "Registration Form" That time my CSS and JS are working well.
    Its works fine if all the fields are entered correctly then "sucess form is displaying". If I give wrong field entries after submiting the form. I am doing the server validation. If any field is missing or wrong I calling "fail" and forward to same employe registration form. When this form is loaded at that time my CSS and JS not working.
    Please help me. my JSP page
    <!-- JSP CODE -->
    <%@ page import="modEmp.bisCommon.*,java.util.*,modLogin.bisCommon.*"%>
    <%@ include file="init.jsp"%>
    <%!
         ArrayList<String> list = new ArrayList<String>();
         ArrayList<String> list1 = new ArrayList<String>();
         String rec[]=new String[150];
         cBLabels cbl1 = null;
    %>
    <%
         for(int i=0;i<rec.length;i++)
              rec="";
    cbl1 = new cBLabels();
         rec=cbl1.getLabels();
    %>
    <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
    <html>
    <head>
    <title>Employee Registration Form</title>
    <script language="javascript" type="text/javascript" src="js-modEmp/addEmpval.js">
    </script>
    <script language="javascript" type="text/javascript" src="js-modEmp/datetimepicker.js">
    </script>
    <link rel="stylesheet" type="text/css" href="css-modEmp/styles.css">
    </head>
    <body onLoad="clearForm();">
    <%
         try
              if (request.getAttribute("submit").equals("fail"))
    %>
                   <%@ include file="failure.jsp"%>
    <%
         catch (Exception ex1)
    %>
    <%@ taglib uri="/META-INF/tlds/struts-html.tld" prefix="html"%>
    <%@ taglib uri="/META-INF/tlds/struts-bean.tld" prefix="bean"%>
    <html:form action="addemp.do">
    <h2>EMPLOYEE REGISTRATION FORM </h2>
    <h2 style="font-style: italic;">Personal Details</h2>
    <%=rec[0]%>:      <html:text property="fname" size="20"/>      <%=rec[1]%>:      <html:text property="mname" size="20"/>
    <%=rec[2]%>:      <html:text property="lname" size="20"/>      <%=rec[3]%>:      <input name="calc" id="demo1" type="text" size="20" disabled>Pick a date<html:hidden property="dob" />
    <%=rec[4]%>:      <html:text property="mobileno" size="20"/>      <%=rec[5]%>:      <html:text property="emailid" size="20"/>
    <%=rec[6]%>:      <html:text property="ftname" size="20"/>      <%=rec[7]%>:      <html:select property="gender"> <html:option value="male">Male</html:option> <html:option value="female">Female</html:option> </html:select>
    <%=rec[8]%>:      <html:text property="nationality" size="20"/>
    </html:form>
    </body>
    </html>
    This is my strus-config.xml file
    <struts-config>
         <form-beans>
              <form-bean
    name="inputForm"
    type="modEmp.bisVo.cVEmployee"/>
              <form-bean
    name="searchForm"
    type="modEmp.bisVo.cVSearchEmp"/>
              <form-bean
    name="leaveForm"
    type="modAttendance.bisVo.cVEmpLeave"/>
              <form-bean
    name="loginForm"
    type="modLogin.bisVo.cVLogin"/>
    <form-bean
    name="changepassForm"
    type="modLogin.bisVo.cVChangePasswd"/>
    <form-bean
    name="empSalForm"
    type="modSalary.bisVo.cVoUpdateEmpSal"/>
         </form-beans>
         <action-mappings>
              <action
    path="/addemp"
    type="modEmp.bisAction.AddEmpAction"
              input="/jsp-modEmp/addempform.jsp"
    name="inputForm"
                   scope="request">
                   <forward name="success"
                        path="/jsp-modEmp/success.jsp"
                        redirect="false"></forward>
                   <forward name="fail"
                        path="/jsp-modEmp/addempform.jsp"
                        redirect="false"/>
              </action>
    </action-mappings>
         <!-- <plug-in className="modLogin.bisCommon.cBInitialise"></plug-in> -->
    </struts-config>
    Help me.....

    Hi dude,
    You can solve this using two ways...!
    1. You can give the hard-core path (full path with the project name: /ProjectName/DirectoryName/JavaScriptFileName.js)
    2. You can use request.contextPath() (to get the current context name)
    Try this below code
    <head>
    <title>Employee Registration Form</title>
    <script language="javascript" type="text/javascript" src="<%=request.getContextPath%>/js-modEmp/addEmpval.js">
    </script>
    <script language="javascript" type="text/javascript" src="<%=request.getContextPath%>/js-modEmp/datetimepicker.js">
    </script>
    <link rel="stylesheet" type="text/css" href="<%=request.getContextPath%>/css-modEmp/styles.css">
    </head>

  • I need help with CSS and floating

    Okay, I know I need to get up on CSS and get rid of tables in
    my sites.
    However, I'm running up against a problem, and after banging
    my head
    against it for a while, I realize I need help. I've stripped
    this down
    so as to only show the area where I'm having difficulty.
    What I want is a page that has everything down the center,
    taking up no
    more than 750 pixels and no more than 550 pixels of width. No
    problem there.
    After the header and the top content, I'd like to have two
    "columns",
    each in it's own separately-colored box. I would like the
    right-side
    column/box to be a static size, while the left-side
    column/box sizes
    dynamically.
    Where I'm having problems is that when one column is boxed,
    it's fine,
    but whenever I wrap each column in its own box, the
    fixed-size box
    either jumps below or above the other box (depending on which
    one has
    been floated and which order the div's appear in the code).
    Here are the links:
    CSS:
    http://www.afice.org/stylesheet/floatmestyles.css
    ex 1:
    http://www.afice.org/floatme1.html
    ex 2:
    http://www.afice.org/floatme2.html
    Before sending, I took a look again, just to see if I was
    missing
    anything. I did notice that it doesn't seem to be that the
    box is
    jumping down so much as it is that it's getting written over.
    Anyway, sorry for the long-winded explanation. I hope I've
    managed to
    explain what I'm trying to do well enough that someone can
    tell me where
    I'm going wrong.
    Thanks,
    --Kevin

    Do you want something like this:
    http://www.pmob.co.uk/temp/spointfooter.htm
    You will need to look at the code to see how it was done.
    Otherwise, there are different examples here on Pauls' site:
    http://www.pmob.co.uk/temp/3colfixedtest_4.htm
    Nadia
    Adobe� Community Expert : Dreamweaver
    http://www.csstemplates.com.au
    - CSS Templates | Free Templates
    http://www.perrelink.com.au
    - Web Dev
    http://www.DreamweaverResources.com
    - Dropdown Menu Templates|Tutorials
    http://www.adobe.com/devnet/dreamweaver/css.html
    "Kevin D-R" <[email protected]> wrote in
    message
    news:[email protected]...
    > Okay, I know I need to get up on CSS and get rid of
    tables in my sites.
    > However, I'm running up against a problem, and after
    banging my head
    > against it for a while, I realize I need help. I've
    stripped this down so
    > as to only show the area where I'm having difficulty.
    >
    > What I want is a page that has everything down the
    center, taking up no
    > more than 750 pixels and no more than 550 pixels of
    width. No problem
    > there.
    >
    > After the header and the top content, I'd like to have
    two "columns", each
    > in it's own separately-colored box. I would like the
    right-side column/box
    > to be a static size, while the left-side column/box
    sizes dynamically.
    >
    > Where I'm having problems is that when one column is
    boxed, it's fine, but
    > whenever I wrap each column in its own box, the
    fixed-size box either
    > jumps below or above the other box (depending on which
    one has been
    > floated and which order the div's appear in the code).
    >
    > Here are the links:
    >
    > CSS:
    http://www.afice.org/stylesheet/floatmestyles.css
    >
    > ex 1:
    http://www.afice.org/floatme1.html
    >
    > ex 2:
    http://www.afice.org/floatme2.html
    >
    > Before sending, I took a look again, just to see if I
    was missing
    > anything. I did notice that it doesn't seem to be that
    the box is jumping
    > down so much as it is that it's getting written over.
    >
    > Anyway, sorry for the long-winded explanation. I hope
    I've managed to
    > explain what I'm trying to do well enough that someone
    can tell me where
    > I'm going wrong.
    >
    > Thanks,
    >
    > --Kevin

Maybe you are looking for

  • Partner profile,Message type

    First time if I am configuring SAP R3 and SAP BW system I need to create Partner profile and Port definition ,message type RSINFO,RSSEND,RSRQST. Creating SAP R/3 source system in BW-I need to use RFC user or my user id is fine. Any one help me out wh

  • Where are the zone files located for BIND??

    I found what should be named.conf in /etc/dns/ and in this file (which apple calls publicView.conf.apple ....wth?) it links to the zone files: +file "db.domain.org.";+ But db.domain.org isnt in /etc/dns so where can I find the zone files? Thanks

  • MySQL over a network?

    Hi, just wanted to check something: My server if on a network with another machine. If I want to connect from that other machine to my server, can I do the following (assuming my server is called COMP1)? jdbc:mysql://COMP1//companydb What I'm asking,

  • DISASSEMBLE Patch_file_error

    I´m installing a patch queue and have the next error:    error in phase: disassemble    Reason for error: patch_file_error    Return code 9    Error message: OCS Package SAPKB70016. What can i do¿?¿?¿

  • Events entered on iphone not showing up on mac ical

    Events entered on my iphone do not show up on my Mac ical.