Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
S

swornavidhya_m

@swornavidhya_m
About
Posts
18
Topics
13
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Create sample standalone forum similar to jitbit,
    S swornavidhya_m

    Hai, I've provided with jitbit software to configure a forum newly for our existing website, and the forum must look like jitbit forum. My boss asked to create a sample standalone forum, which looks like jitbit forum. I've created the virtual directory called forum in my local computer's iis, and configured it with iis of my system. I'm able to get my virtual directory run in my browser. The thing is that, when doing any operation like registering an user newly / logged in as admin with given password and when signout operation is triggered.. I am receiving the following error :

    Operation must use an updateable query.
    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

    Exception Details: System.Data.OleDb.OleDbException: Operation must use an updateable query.

    Source Error:

    An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

    Stack Trace:

    [OleDbException (0x80004005): Operation must use an updateable query.]
    System.Data.OleDb.OleDbCommand.ExecuteCommandTextErrorHandling(OleDbHResult hr) +1002416
    System.Data.OleDb.OleDbCommand.ExecuteCommandTextForSingleResult(tagDBPARAMS dbParams, Object& executeResult) +255
    System.Data.OleDb.OleDbCommand.ExecuteCommandText(Object& executeResult) +188
    System.Data.OleDb.OleDbCommand.ExecuteCommand(CommandBehavior behavior, Object& executeResult) +58
    System.Data.OleDb.OleDbCommand.ExecuteReaderInternal(CommandBehavior behavior, String method) +161
    System.Data.OleDb.OleDbCommand.ExecuteNonQuery() +113
    aspnetforum.Utils.User.UpdateLastLogonDate(Int32 userId) +208
    aspnetforum.ForumPage.OnInit(EventArgs e) +1686
    System.Web.UI.Control.InitRecursive(Control namingContainer) +333
    System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +378

    Version Information: Microsoft .NET Framework Version:2.0.50727.3053; ASP.NET Version:2.0.50727.3053

    I don't know how to proceed further. My task is to create a forum which looks similar like jitbit forum. Help needed regarding this. Regards, M.Sworna Vidhya

    ASP.NET help csharp asp-net database dotnet

  • help with url rewrite...
    S swornavidhya_m

    I have to do an module program which downloads pdf files in the client side. Currently, when users download the file, the url of the downloaded file is viewed by the user. Modification instructed: 1. In the page where the file download is requested, the url of the downloaded file is viewed in the status bar of that web page. Modification is that the status bar should not display the url of the downloaded file. -- This had been corrected and the code has modified accordingly. It is done correctly only for the first page. Blinks how to process this for the second page.. 2. Currently, the call for the download page is given along with the filename of the user request. The filename is passed as the querystring. Modification needed is that the url should get rewritten as "~/download.aspx" instead of "~/download.aspx?". I came across using "urlrewriter". But don't know how to implement since i feel little confused with the code examples in net. I'm placing my code for ur assistance. I'm not using webconfig file also. old try pdf.aspx ****************

    <%@ Page Language="C#" AutoEventWireup="true" CodeFile="old try pdf.aspx.cs" Inherits="old_try_pdf" %>

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

    <html xmlns="http://www.w3.org/1999/xhtml" >
    <head runat="server">
    <title>Try PDF - Download</title>
    <style>
    .link_text
    {
    font-family:Tahoma;
    font-size:10px;
    color:#1d5296;
    text-decoration:none;
    }

        .link\_text A
        {
            font-family:Tahoma;
            font-size:11px;
            color:#1d5296;
            text-decoration:underline;	
        }
    
        .link\_text A:hover
        {
            color:#ff000c;
            text-decoration:underline;
        }
    
        .link\_text A:active
        {
            color:#ff000c;
            text-decoration:underline;
        }
        
        .bullets
        {
            background-image:url(Bullet.gif);	
            background-position:center;
            width:10px;
            height:10px;
            display:table-cell;		
            vertical-align:top;
            background-repeat:no-repeat;
        }
        
        .display\_cell
        {
            border:solid 1px #e6e7e8;
            display:table-cell;
            width:355px;
        }
    
    </style>
    

    </head>
    <body>
    <form id="form1" runat="server">

    ASP.NET csharp html sysadmin architecture help

  • Tabbed Page in HTML
    S swornavidhya_m

    I'm creating a tabbed page. I'm stuck with setting the images to the tab headers. Coding

    <html>

    <head>
    <meta name="GENERATOR" content="Microsoft FrontPage 6.0">
    <meta name="ProgId" content="FrontPage.Editor.Document">
    <meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
    <title>Try Tabbed Page Example</title>

    <script type="text/javascript" >
    /* Copyright (C) 2005 Ilya S. Lyubinskiy. All rights reserved.
    Technical support: http://www.php-development.ru/

    YOU MAY NOT
    (1) Remove or modify this copyright notice.
    (2) Distribute this code, any part or any modified version of it.
    Instead, you can link to the homepage of this code:
    http://www.php-development.ru/javascripts/tabview.php.

    YOU MAY
    (1) Use this code on your website.
    (2) Use this code as a part of another product.

    NO WARRANTY
    This code is provided "as is" without warranty of any kind, either
    expressed or implied, including, but not limited to, the implied warranties
    of merchantability and fitness for a particular purpose. You expressly
    acknowledge and agree that use of this code is at your own risk.

    If you find my script useful, you can support my site in the following ways:

    1. Vote for the script at HotScripts.com (you can do it on my site)
    2. Link to the homepage of this script or to the homepage of my site:
      http://www.php-development.ru/javascripts/tabview.php
      http://www.php-development.ru/
      You will get 50% commission on all orders made by your referrals.
      More information can be found here:
      http://www.php-development.ru/affiliates.php
      */

    // ----- Auxiliary -------------------------------------------------------------

    function tabview_aux(TabViewId, id)
    {
    var TabView = document.getElementById(TabViewId);

    // ----- Tabs -----

    var Tabs = TabView.firstChild;
    while (Tabs.className != "Tabs" ) Tabs = Tabs.nextSibling;

    var Tab = Tabs.firstChild;
    var i = 0;

    do
    {
    if (Tab.tagName == "A")
    {
    i++;
    Tab.href = "javascript:tabview_switch('"+TabViewId+"', "+i+");";
    Tab.className = (i == id) ? "Active" : "";
    Tab.blur();
    }
    }
    while (Tab = Tab.nextSibling);

    // ----- Pages -----

    var Pages = TabView.firstChild;
    while (Pages.className != 'Pages') Pages = Pages.nextSibling;

    var Page = Pages.firstChild;
    var i = 0;

    do
    {
    if (Page.className == 'Page')
    {
    i++;
    if (Pages.offsetHeight) Page.style.hei

    Web Development javascript php html com tools

  • Setting background image for iframe?
    S swornavidhya_m

    How to set background image for iframe? If set, it is not working in IE. But works with Mozilla and Google Chrome. How to fix bug in IE for displaying background image in iframe.

    M Sworna Vidhya

    Web Development help tutorial question

  • Include an HTML File into an another html file.
    S swornavidhya_m

    I've created a seperate html files for navigation, content and footer. I want to club those files. All the navigation, content, footer files resides in the same directory where the index.html file resides. I want to include the above mentioned html files inside the index.html. I have tried using the following in index.html file

    <!--#include virtual="topbanner.html" -->

    I also tried using the asp code which also fails. I tried with asp by changing all the html file extensions as .asp. Then i tried to place the following asp code in index.asp file as

    <!--#include file="topbanner.asp" -->

    Kindly solve my problem. This is an urgent thing to do for me.

    M.Sworna Vidhya

    Web Development html database help

  • asp send mail
    S swornavidhya_m

    I want to send mail from an asp page. The asp page is called from a html page. The sending mail using CDOSYS and CDO is not working properly. When i call the asp page from html page, the script for sending mail in the asp page is getting displayed while running rather than working of the process which i had mentioned in the script to work. The runtime problem is that, when the asp file is being called from html file the script is getting displayed rather than the process to get worked. HTML Code HTML and CSS Syntax (Toggle Plain Text)

    <html>
    <head>
    <meta http-equiv="Content-Language" content="en-us">
    <meta name="GENERATOR" content="Microsoft FrontPage 6.0">
    <meta name="ProgId" content="FrontPage.Editor.Document">
    <meta http-equiv="Content-Type" content="text/html; charset=windows-1252">

    </head>

    <body>

    <form action=sendmail.asp method="POST">
    <p><input type="text" name="T1" size="20"></p>
    <p><input type="submit" value="Submit" name="B1">        
    <input type="reset" value="Reset" name="B2"></p>
    </form>

    </body>

    </html>

    ASP File "sendmail.asp" code
    *****************************

    HTML and CSS Syntax (Toggle Plain Text)
    <html>

    <head>
    <meta name="GENERATOR" content="Microsoft FrontPage 6.0">
    <meta name="ProgId" content="FrontPage.Editor.Document">
    <meta http-equiv="Content-Type" content="text/html; charset=windows-1252">

    <%

    function sendmail()
    {

    Set myMail=CreateObject("CDO.Message")
    myMail.Subject="Sending email with CDO"
    myMail.From="rksvidhya@yahoo.com"
    myMail.To="swornavidhya.mahadevan@gmail.com"
    myMail.TextBody="This is a message."

        myMail.Configuration.Fields.Item \_
    	("http://schemas.microsoft.com/cdo/configuration/smtsperver") = "smtp.gmail.com";
       myMail.Configuration.Fields.Item \_
       ("http://schemas.microsoft.com/cdo/configuration/smtpserverport") = 465;
       myMail.Configuration.Fields.Item \_
       ("http://schemas.microsoft.com/cdo/configuration/sendusing") = 2;
       myMail.Configuration.Fields.Item \_
       ("http://schemas.microsoft.com/cdo/configuration/smtpauthenticate")= 1;
       myMail.Configuration.Fields.Item \_
       ("http://schemas.microsoft.com/cdo/configuration/smtpusessl") = "true";  
       myMail.Configuration.Fields.Item \_
       ("http://schemas.microsoft.com
    
    ASP.NET html css com tools help

  • Scrolling of images..
    S swornavidhya_m

    I want to provide sitemap with scrolling of images. I'm handling the method for scrolling image as in "Text and Image Crawler" of Dynamicdrive.com (http://www.dynamicdrive.com/dynamicindex2/crawler/index.htm). I've just changed the images and added a click event for images. The crawler.js is the same as in the "Text and Image Crawler" of Dynamicdrive.com. In my application thing is for services, there is submenus. When the services image is clicked.. the marque movement should be paused until other than services (home, about_us, careers, contact_us) is clicked and the images of the submenu should get displayed. When other than services is clicked, the display of the submenu images must be in hide condition. IS it possible to do so. If so guide and help me. Currently, I'd hide the submenu images by setting the property 'display:none;' for the div-id in styles.css. And when clicked i've coded to display the submenu images with javascript. But not working.

    My html code is:
    *****************
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
    <html>

    <head>
    <meta name="GENERATOR" content="Microsoft FrontPage 6.0" />
    <meta name="ProgId" content="FrontPage.Editor.Document" />
    <meta http-equiv="Content-Type" content="text/html; charset=windows-1252" />
    <title>My Project</title>
    <link type="text/css" rel="stylesheet" href="css/style.css" />

    <script type="text/javascript" src="js/scroll-image.js"></script>
    <script type="text/javascript" src="js/crawler.js"></script>

    <!-- [if gte IE 7]><!-->
    <link type="text/css" rel="stylesheet" href="css/style-ie6.css" />
    <!--<![endif]-->
    </head>

    <body style="line-height: 150%">
    <div>

    		<div style=" background:#E3E1E2; width: 766px; margin: 0px auto">
    			<p class="body\_text\_heading" align=left><br>&nbsp;&nbsp;<br>&nbsp;Sitemap<br>&nbsp;&nbsp;<br>&nbsp;&nbsp;&nbsp;<br>&nbsp;&nbsp;<br>&nbsp;</p>
        		<div style=" background:#E3E1E2; width: 730px; margin: 0px auto;">     			
    
                      <div class="marquee" id="image\_scroll">
                           <img src="images/site\_home.jpg" width="300" height="300" alt="Home" id="1\_img"  onclick="scrollimage('home');";/> 
                           <img src="images/site\_ab
    
    JavaScript javascript html css database wpf

  • How to give - space between scrolling images and border for the images
    S swornavidhya_m

    Hai I am trying scrolling of images as like (http://www.dynamicdrive.com/dynamicindex2/crawler/index.htm). I do want to set border for the images with border property as "2px solid #000" and i do want gap between the images so that the horizontal gap value is 20px. I tried even with image border propoerty and image style properties both border and padding as 0 20px. Both not working properly. The style padding property is working fine in firefox and google chrome. But it is working in IE 6.0 I'll paste my code for your reference.

    ********************************************************************************
    HTML CODE IS
    ********************************************************************************
    <html>

    <head>
    <meta name="GENERATOR" content="Microsoft FrontPage 6.0">
    <meta name="ProgId" content="FrontPage.Editor.Document">
    <meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
    <title>New Page 1</title>
    <script type="text/javascript" src="crawler.js">
    /*
    Text and/or Image Crawler Script ©2009 John Davenport Scheuer
    as first seen in http://www.dynamicdrive.com/forums/ username: jscheuer1
    This Notice Must Remain for Legal Use
    */
    </script>
    </head>

    <body>
    <div class="marquee" id="mycrawler">
    Those confounded friars dully buzz that faltering jay. An appraising tongue acutely causes our courageous hogs. Their fitting submarines deftly break your approving improvisations. Her downcast taxonomies actually box up those disgusted turtles.
    </div>

    <script type="text/javascript">
    marqueeInit({
    uniqueid: 'mycrawler',
    style: {
    'padding': '5px',
    'width': '150px',
    'background': 'lightyellow',
    'border': '1px solid #CC3300'
    },
    inc: 8, //speed - pixel increment for each iteration of this marquee's movement
    mouse: 'cursor driven', //mouseover behavior ('pause' 'cursor driven' or false)
    moveatleast: 4,
    neutral: 150,
    savedirection: true
    });
    </script>

    <div class="marquee" id="mycrawler2">
    <img src="http://i40.tinypic.com/9tlic8.jpg" style="padding:0 20px;" onclick="javascript:alert('9tlic8.jpg')";/>
    <img src="http://i43.tinypic.com/1zbqs5t.jpg" style="padding:0 20px;" onclick="javascript:alert('1zbqs5t.jpg')"/>
    <img src="http://i44.tinypic.com/2419ul3.jpg" style="padding:0 20px;" onclick="javascript:alert('2419ul3.jpg')"/>
    <img src="http://i43.tinypic.com/296nh3r.jpg" st

    JavaScript javascript html database com tools

  • Trouble with SQL Server Records Updation
    S swornavidhya_m

    The value of TEXT_ID will be as like 1779562, 1779563, 1779564, and so on.

    Database database help announcement sql-server com

  • Problem with webpage connectivity
    S swornavidhya_m

    Problem Statement:
    Connection with server takes a long time and provides "No message either it is timeout or someother thing other than time out". The state of the mouse during that time will be in "cursor: wait (an hourglass)" state.

    This problem is being faced occationationly, but now a days it become frequent.

    Description: The website is working properly as per the design flow. We are having 3 types of users - one is for data entering people, one for maintaining database, one is endusers. An enduser who is the customer of the website, should login with the main page of the website. The enduser who is either the people entering data or the people maintaining database, should have to give login through the different page exists in the website. These two users comes under the catagory "admin". According with the user as data maintaining or the user for entering data who have logged in, the co-ordinate page get opened for viewing & editing the customer details of the website for the user of data maintaining and the page through which the datas uploaded in the server, opened when the user is the people of entering data. The problem facing is that when the user of the catagory "admin" logged-in, the coordinate pages is not getting opened according with the type of user logged-in. There is no error message occurs. After entering the username, password and when submit button is clicked, the mouse will be in "cursor: wait (an hourglass)" state until we closes the window forcibly. Meantime, during the other period of time other than the period of problem, it is working fine with the same code. Now-a-days the problem is occuring frequent. Also during this problem, only the users under the "admin" catagory faces this problem. The endusers who are the customers of the website, are able to login and there is no problem for them since they are log-in with different page. What will be the problem? If it is with code, then it should stop working permenently. Now it is working partially which makes me get confused. Kindly help me regard this.

    M.Sworna Vidhya

    ASP.NET help database design sysadmin sales

  • Trouble with SQL Server Records Updation
    S swornavidhya_m

    Eddy Vluggen wrote:

    There's already a record in the "text_data" table that holds the same value in the "Text_Id" field as the one that you're trying to insert. That fails, since a primary key needs to be unique; you can't add two records in the table with the same key.

    Actually, the datas stored in notepad or excel. Then those stored values are copied to "updateprice.mdb". The values from "updateprice.mdb" are transferred to the "text_data" table in server with the method called for updating the values to the server. In this method only i'm facing the problem. The "Text_Id" field is the unique one and won't have any duplicates in any case. Also, the data team members who are in-charge for inserting datas to server, said that the server updation by inserting is done properly when the record count<=3. If the recordcount exceeds 3, then the error is showing as:

    Error Showing as
    ****************
    1 record(s) converted
    File Name:DTRinggit081110Ringgit Extends Downtrend Against Greenback
    Microsoft OLE DB Provider for ODBC Drivers error '80004005'

    [Microsoft][ODBC SQL Server Driver][SQL Server]Violation of PRIMARY KEY constraint 'PK_text_data'. Cannot insert duplicate key in object 'text_data'.

    /data_maintain/News.asp, line 86

    I'm blinking and stuck with datas getting updated to the server. Kindly help me.

    M.Sworna Vidhya

    Database database help announcement sql-server com

  • Trouble with SQL Server Records Updation
    S swornavidhya_m

    Problem we are Facing Currently: Records getting inserted as only one during the process of updating the server. Previously, all the given records get inserted into the database table during the updation process. "updateprice" is the .mdb exists locally in the same folder where the calling file for updating records exists. It contains record data to be uploaded to the server database. It acts as an temporary storage database. The records to be updated to the server are either in an notepad or excel. Whatever be the count in records, previously it was updated fine. "rsTextData.Update" is line 86. I'm blinking where it fails.The error which we're facing and the code is given below for the assistance.

    Error Showing as
    ****************
    1 record(s) converted
    File Name:DTRinggit081110Ringgit Extends Downtrend Against Greenback
    Microsoft OLE DB Provider for ODBC Drivers error '80004005'

    [Microsoft][ODBC SQL Server Driver][SQL Server]Violation of PRIMARY KEY constraint 'PK_text_data'. Cannot insert duplicate key in object 'text_data'.

    /data_maintain/News.asp, line 86

    code ****

    <table width="100%" cellspacing="0" cellpadding="0" align="center">

    <tr><td height="25" class="mtext" background="../images/top_bar.jpg" align="center"><font color="#FFFFFF"><b>ADMINISTRATION</b></font></td></tr>
    <tr><td height="10"></td></tr>
    <tr><td height="20"></td></tr>

    <tr><td width="100%" class="mtext">
    <p style="margin-left: 10; margin-right: 3">
    <center>
    <b> Uploading Text Data in progress...<br>
    <br>Please wait..</b>
    </center>

    <%
    set myconn=server.createobject("ADODB.connection")
    
    myconn.open "updateprice"
    myconn.CommandTimeout=0
    set rsData = Server.CreateObject ("ADODB.Recordset")
    
    NewsCodeSelectSql="Select \* from text\_data"
    set rsData=myconn.execute(NewsCodeselectsql)
    code = 0 
    intRecCount = 0
    set myconn1=server.createobject("ADODB.connection")
    myconn1.open "DSN=commodities;uid=fbspl07;pwd=07#web&;"
    myconn1.commandtimeout=0
    Response.Write("1  record(s) converted<br>")
    do while not rsdata.eof
    Set cmdTemp=Server.CreateObject("ADODB.Command")
    cmdTemp.CommandType=2
    	sql="select \* from text\_Data where 1<>1"
    	
    	set rsTextData=Server.CreateObject("ADODB.Recordset")
    	
    	rstextdata.locktype=adLockOptimistic
    	
    	rsTextData.Open "s
    
    Database database help announcement sql-server com

  • Purpose of using branding.css?
    S swornavidhya_m

    When i come across web, i found sites using "http://www.google.com/cse/api/branding.css". I want to know why branding.css of google is used for the webpages? M.Sworna Vidhya

    Web Development css com json question

  • Problem with menu image
    S swornavidhya_m

    Thank you. It works for me. M.Sworna Vidhya

    Web Development html css docker architecture help

  • Problem with menu image
    S swornavidhya_m

    Thanks Desai, I tried with but failed. #nav a { background-image:url("../images/leftlinkbg1.jpg"); background-repeat:no-repeat; text-decoration:none; width:130px; height:25px. } is also not working. Blinking what to do further. Also, if i download any sample which contains background-image set for html elements in external stylesheet, is working fine. But when i try to code myself the same sample set with background-image property, It is not working. IF i copy and paste the same code, it is working fine. Also when i do hand-code the sample, differences occurs from browser to browser. How to overcome it too. M.Sworna Vidhya

    Web Development html css docker architecture help

  • Problem with menu image
    S swornavidhya_m

    The size of the image i'm using in the background for <a> element is of width:130px and height:25px. Since <a> element is within <li> and it will act as menus. The problem is that when i run my sorce, the image gets displayed according to the contents of the <a>. How to set the background image for all <a> with width:130px and height:25px. My html code is : ***************** <html> <head> <meta name="GENERATOR" content="Microsoft FrontPage 6.0"> <meta name="ProgId" content="FrontPage.Editor.Document"> <meta http-equiv="Content-Type" content="text/html; charset=windows-1252"> <title>Try Web Page</title> <link type=text/css rel=stylesheet href=css/style.css> </head> <body> <div id="container"> <div id="top"> <div id="header">Inside Header Top Container</div> <div id="nav"> <UL> <li><a href=#>Home</a></li> <li><a href=#>About Us</a></li> <li><a href=#>References</a></li> <li><a href=#>Contact Us</a></li> </UL> </div> </div> <div id="main"> <div id="left">Inside Left Main Container</div> <div id="right">Inside Right Main Container</div> </div> <div id="footer">Inside footer Container</div> </div> </body> </html> CSS Part of code is: ******************** #nav { text-align:center; } #nav ul { list-style-type:none; } #nav li { width:200px; border:1px solid red; display:inline; } #nav a { background-image:url("../images/leftlinkbg1.jpg"); background-repeat:no-repeat; text-decoration:none; }

    Web Development html css docker architecture help

  • Background-image not working in external stylesheet
    S swornavidhya_m

    Thank you, desai. Now it works for me.

    Web Development html css docker

  • Background-image not working in external stylesheet
    S swornavidhya_m

    I'm trying to create a tableless website. When using external stylesheet, the background-image property alone is not working with my external stylesheet. Other properties are working fine with the external stylesheet. I'm getting fuzzed to continue. My external stylesheet (style.css) and is placed in folder 'css' code is: The image is in folder 'images'. When surfng the google with 'background-image not working in external stylesheet' i found that if we place css in different folder and made a call for an image in differnt folder we've to give mention as

    background-image:url("../images/disdat-gold-red.gif");

    - even this failed. Again when searched, i found that instead of saying 'background-image' give code as follows for which they answered it worked fine. And the code is:

    background: #000000 url(images/disdat-gold-red.gif) repeat-x;

    - even this get failed for me. I'm attaching my html file along with my css file. Coding part in "style.css" #header { text-align:center; font-family:arial, verdana, 'times new roman'; font-size:15pt; font-weight:bold; color:#0ac0af; padding:2% 0 15% 0; background:url(images/disdat-gold-red.gif) no-repeat; } HTML code is: <html> <head> <meta name="GENERATOR" content="Microsoft FrontPage 6.0"> <meta name="ProgId" content="FrontPage.Editor.Document"> <meta http-equiv="Content-Type" content="text/html; charset=windows-1252"> <title>Try Web Page</title> <link type=text/css rel=stylesheet href=css/style.css> </head> <body> <div id="container"> <div id="top"> <div id="header">Inside Header Top Container</div> <div id="nav">Inside Nav Top Container</div> </div> <div id="main"> <div id="left">Inside Left Main Container</div> <div id="right">Inside Right Main Container</div> </div> <div id="footer">Inside footer Container</div> </div> </body> </html>

    M.Sworna Vidhya

    Web Development html css docker
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups